Answer:
y = x - 2
Explanation:
The equation of a line can be known as y = mx + b, with m being the slope and b being the y intercept.
1. Find the Slope
The slope can be known as the change in y/change in x.
Two points: (2,0), (0,-2)
-2 - 0/ 0 - 2 = -2/-2 = 1
Slope is 1
So now we can replace the m as 1. So that is y = x + b
2. Find the y intercept
The y intercept is -2 because that is the point where the line meets the y axis.
So our equation is y = x-2