Answer:
y = x - 2
Explanation:
Slope intercept form of an equation: y =mx +b
Here m is the slope and b is the y-intercept.
Choose any two points on the line.
(2,0) ; (0,-2)
Now, find the slope.


m = 1.
Now, y = 1x + b
The (2 , 0) passes through the line. Substitute x = 2 and y = 0 in the above equation and find the value of 'b'.
0 = 1*2 + b
0 = 2 + b
-2 = b
Equation of line:
y = x - 2