Answer:
y = -3x - 2
Step-by-step explanation:
Given the coordinates (-2, 4) and (-1, 1), we are to find the equation of a line passing through the points.
The standard form of the equation is expressed as;
y = mx+c
m is the slope
m = y2-y1/x2-x1
m = 1-4/-1+2
m = -3/1
m = -3
get the y-intercept c;
Substitute m = -3 and any point say (-1,1) into the equation y = mx+c
1 = -3(-1) + c
1 = 3 + c
c = 1-3
c = -2
Get the required equation;
y = mx+c
y = -3x + (-2)
y = -3x - 2