Answer:
y = x + 1
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₁ ) = (1, 2 ) and (x₂, y₂ ) = (0, 1 ) ← point where it crosses y- axis
m =
=
= 1
the y- intercept is the value of y where the line crosses the y - axis
this is at y = 1 ⇒ c = 1
y = x + 1 ← equation of line