We can find the equation of any line passing through a given point and parallel or perpendicular to a given line by finding the slope of the given line and using slope-intercept form.
Given, the line passing through a given point and parallel and perpendicular to a given line
we have to find the equation of the lines
Let l1 be a line passing through a point (p , q) and parallel to a line l2.
suppose the equation of the line l2 be,
y = mx + c
the line l2 has slope m
Now to find the equation of the line l1,
(y - q)/(x - p) = m
On cross-multiplying, we get
y - q = m(x - p)
y = mx - pm + q
So, the equation of the line l1 be,
y = mx + (q - pm)
Similarly, we can find the equation of any line passing through a point and parallel to a given line.
Hence, we can find the equation of any line with the slope.
Learn more about Straight Lines here https://brainly.com/question/26522880
#SPJ4