You can put this solution on YOUR website! Hi there,
Gradient = y2-y1/x2-x1
= 8-4/0-2 = 4/-2
Gradient = -2
Using the equation of the line
y - b = m(x - a)
with
m = -2
(a,b) either use (2,4) or (0,8)
y - 4 = -2(x - 2)
y - 4 = -2x + 4
y = -2x + 4 + 4
y = -2x + 8
Hope this helps :-)