Answer:
y= 2x -9
Step-by-step explanation:
Slope-intercept form
y= mx +c, where m is the slope and c is the y-intercept.
[tex]\boxed{slope = \frac{ y_{1} - y_2}{x_1 - x_{2}} }[/tex]
Slope
[tex] = \frac{ - 1 - ( - 5)}{4 - 2} [/tex]
[tex] = \frac{ - 1 + 5}{2} [/tex]
[tex] = \frac{4}{2} [/tex]
= 2
Substitute m= 2 into the equation:
y= 2x +c
To find the value of c, substitute a pair of coordinates.
When x= 4, y= -1,
-1= 2(4) +c
-1= 8 +c
c= -1 -8
c= -9
Thus, the equation of the line is y= 2x -9.