We are given a set of coordinates which are;

And the slope which is;

The equation of a line in slope-intercept form is;

Note that in this equation, the variable m is the slope (that is, the coefficient of x). we can now substitute for x, y and m into the equation above and we'll have;

We now have the values of the slope and the y-intercept as

The equation now can be written as;

ANSWER:
