we know that
the equation of the line in the slope-intercept form is equal to

where
m is the slope of the line
b is the y-intercept of the line
Let

Step

Find the slope of the line AB
the slope between two pints is equal to

substitute the values



with the slope m and the point B find the value of b



Find the equation of the line


therefore
the answer is
