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 =
![(y_(2)-y_(1) )/(x_(2)-x_(1) )](https://img.qammunity.org/2021/formulas/mathematics/middle-school/89lni2arad82a9125nchkq0vkwnbj1bzli.png)
with (x₁, y₁ ) = (- 2. 0) and (x₂, y₂ ) = (0, 2) ← 2 points on the line
m =
=
= 1
the line crosses the y- axis at (0, 2 ) ⇒ c = 2
y = x + 2 ← equation of line