
The line equation in slope-intercept form is
, where m is the slope
and b is the y-intercept.
\First find the slope of the line.
\
(Substitute 2for x1, –1 for y1, 0 for x2 and 2 for y2)
(Simplify)
(Add:
)
Next find the y-intercept.
\The line crosses the y-axis at (0, 2).So,
\the y-intercept is 2
\Replace m with
and b with 2 in the equation
.

The slope-intercept form line equation is
.