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₁ ) = (- 2, 1) and (x₂, y₂ ) = (- 1, 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