Answer:
Slope Intercept Form
y=x-2
Explanation:
Find Slope using equation below

Chose points I chose 2 as y2 and -2 as y2
4 is x2 and 0 as x1

Slope is 1
now choose a point and plug it in for x and y and plug slope in Equation

I chose (4,2)

2=4+b
subtract 4 by both sides
-2=b
Slope Form

So... y=x-2 is the answer