Answer:
y= -3x-1
Step-by-step explanation:
The equation of a line is usually written in the form of y=mx+c, where m is its gradient and c is its y-intercept.
[tex]gradient = \frac{y1 - y2}{x1 - x2} [/tex]
Using the above formula, let's find the gradient of the line, m.
[tex]m = \frac{5 - ( - 4)}{ - 2 - 1} \\ m = \frac{9}{ - 3} \\ m = - 3[/tex]
Substitute the value of m back into the equation.
y= -3x+c
To find c, substitute a coordinate into the equation.
When x= -2, y= 5,
5= -3(-2) +c
5= 6 +c
c= 5-6
c= -1
Thus, the equation of the line is y= -3x -1