The slope m of a non vertical line through any two points is given by,
\
(Substitute
)
(Subtract:
)
Apply cross products property: If
then
.

Distribute terms using distributive property:
.

Apply addition property of equality: If a = b then a + b = b + a.
\
(Apply additive inverse property:
)
(Add:
)
Apply addition property of equality: If a = b then
.
(Cancel common terms)
The value of
.