Answer
$y=x+2$ or $x-y=-2$
Work Step by Step
Step 1. Identify the intercepts as $(-2,0), (0,2)$
Step 2. Find the slope of the line $m=\frac{0-2}{-2-0}=1$
Step 3. Use either point (2nd used here) to find the equation: $y-2=(x-0)$ or $y=x+2$ or $x-y=-2$