Lets find the slope first.
Slope is change in y's by change in x's.
Change in y's = -8 -2 = -10
Change in x's = -8 -8 = -16
Slope = -10/-16 = 5/8
The slope intercept form is:
y = mx + b
Where
m is slope
b is y intercept
We now have:

We can plug in any point and find b. Let's put (8,2), so :

Final equation:
