
The line equation in slope-intercept form is
, where m is the slope and b is the y-intercept.
First find the slope (m).
\Slope formulae is 
(Replace
with 0, -2, 4 and 2)
(Product of two same signs is positive)
(Add:
)
(Cancel common terms)
Slope is
.
Next find the y-intercept (b).
\
(Substitute 1 for m)
(Substitute 0, -2 for x and y)
(Simplify)
Substitute 1 for m and
for b in the Slope-intercept form equation.

The line equation in slope-intercept form is
.