The general slope-intercept form is given by

, where

is the slope and

is the y-intercept.
Let's find the slope first. Remember that the slope given by two points is

. So, using the two given points,



Now, we know that

. To find

, let's just plug in the x and y coordinates for one of the points and solve for b:



Thus, the equation of the line in slope-intercept form is
