Answer:
y = -2x + 2
Step-by-step 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;
[tex] Slope = \frac{Change \; in \; y \; axis}{Change \; in \; x \; axis} [/tex]
[tex] Slope, m = \frac {y_{2} - y_{1}}{x_{2} - x_{1}} [/tex]
Substituting into the equation, we have;
[tex] Slope, m = \frac {4 - (-2)}{-1 -2} [/tex]
[tex] Slope, m = \frac {4 + 2}{-1 -2} [/tex]
[tex] Slope, m = \frac {6}{-3} [/tex]
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