Answer:
y = 2x + 4
Step-by-step 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₁ ) = (- 2, 0) and (x₂, y₂ ) = ( 0, 4) ← 2 points on the line
m =
=
=
= 2
the line crosses the y- axis at (0, 4 ) ⇒ c = 4
y = 2x + 4 ← equation of line