Answer:
y = x - 2
Explanation:
the equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
calculate m using the slope formula
m =

with (x₁, y₁ ) = (4, 2 ) and (x₂, y₂ ) = (0, - 2 )
m =
=
= 1
the line crosses the y- axis at (0, - 2 ) ⇒ c = - 2
y = x - 2 ← equation of line