Explanation:
Point slope-form of a line passing through the point
and having m is

The slope-intercept form of a line having slope m and y-intercept c is

(1). The line is passing through
and having the slope m=3.
So, by using equation (i), the point-slope form of the line is


By using equation (ii), the slope-intercept form of the line is

as the line is passing through the point (-5,6), so pout this point in the equation (iii) to get the value of c.



From equation (iii), the slope-intercept form of the line is
.
(2). The line is passing through the points (–5, 9) and (1, 3).
As two points are given, so the slope of the line is

Now, proceeding in the same way as in part (1),
By using equation (i), the point-slope form of the line is
[taking point (1,3) and m=-1]
By using equation (ii), the slope-intercept form of the line is

as the line is passing through the point (1,3), so pout this point in the equation (iv) to get the value of c.



From equation (iv), the slope-intercept form of the line is y=-x+4.