The points are
and (2,
).
Substitute the values
in slope formula.

(Product of two same signs is positive) \ \
(Add:
)
(Divide:
)
The slope of the horizontal line is 0.
The slope of the line is
.