slope m = (y2-y1)/(x2-x1)
( -2 - 4 )/( 1 - 3
( -6 / -2 )
m= 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 ( 3 , 4 ) in
Y = m x + b
4.00 = 3 * 3 + b
4.00 = 9 + b
b= 4 + -5
b= 9
So the equation will be
Y = 3 x -5
m.ananth@hotmail.ca