Answer:
y = -2x + 2
Explanation:
Given the following data;
Points on the x-axis (x1, x2) = (2, -1)
Points on the y-axis (y1, y2) = (-2, 4)
To find the equation of line in slope intercept form;
First of all, we would determine the slope of the line.
Mathematically, slope is given by the formula;
Substituting into the equation, we have;
Slope, m = -2
Next, we would use the following formula to find the equation of the line;
y - y1 = m(x - x1)
Substituting into the formula, we have;
y - (-2) = -2(x - 2)
y + 2 = -2x + 4
y = -2x + 4 - 2
y = -2x + 2 = mx + c