The points are
and
.
The formula for slope is
.
Substitute
for
,
for
,
for
and
for
in above formula.

.
Point-Slope form of the line equation is
.
Substitute the values
,
in Point-Slope form.





Above line in slope-intercept form
, where
is slope and
is
-intercept.
Slope-intercept form of the line equation is
.