
The line equation of point-slope form is
, where m is the slope
and
is a given point on a nonvertical line.
Now substitute
and
in point-slope form equation.

(Product of two same signs is positive)
The line equation in point- slope form is
.