Equation of a line in slope intercept form:
m is the slope
b is the y-intercept
To find the slope use the two given points in the next formula:
Use the slope and one of the points to find the y-intercept:
Then, the equation of the line passing through the given pair of points is: