You can
put this solution on YOUR website!gradient, m is defined as

.
Which is

,

? IT DOES NOT MATTER!!!! Just pick one and stick with that decision:
so, i shall do both versions to show you, you get the same answer:
so, either m = (r-5)/(8-4) = -4
(r-5)/4 = -4
r-5 = -16
r = -11
OR m = (5-r)/(4-8) = -4
(5-r)/-4 = -4
5-r = 16
-r = 11
r = -11
jon.