Answer:
y = -3x + 2
Step-by-step explanation:
The linear equation is in the form
y = mx + b
where m is the slope and b is the y-intercept
the slope can be calculated using two points
Let us have; (-2,8) and (0,2)
The equation of the slope is ;
m = (y2-y1)/(x2-x1) = (2-8)/(0+2) = -6/2 = -3
So for the y-intercept, we select any of the points to substitute
Let us have (0,2)
Substitute this into;
y = -3x + b
2 = -3(0) + b
b = 2
So the equation is;
y = -3x + 2