The formula for the equation of a line knowing 2 points and a slope is:

where m is the slope and and are the coordinates of the given point.

Simply substitute:

and clean up if you want. Usually, on AP Calc tests, they recommend you don't waste your time simplifying because they accept this answer.