slope m = (y2-y1)/(x2-x1)
( -8 - (-6) )/( -5 - (-2) )
( -2 / -3 )
m= 2/3
The required line passes through both the points. So we select one point and plug it with the slope
Plug value of the slope and point(-2, -6) in
Y = m x + b
-6.00 = 2/3 * -2 + b
-6.00 = -1 1/3 + b
b= -6 + 4/3
b= -14/ 3
So the equation will be
Y = 2/3 x -14/3
m.ananth@hotmail.ca