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:
![y=(5)/(8)x+b](https://img.qammunity.org/2023/formulas/mathematics/college/gh0e4icjhn31r1v56mdep1e4pv4vwrmmig.png)
We can plug in any point and find b. Let's put (8,2), so :
![\begin{gathered} y=(5)/(8)x+b \\ 2=(5)/(8)(8)+b \\ 2=5+b \\ b=2-5 \\ b=-3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/uuimlnh81dkd2jjyhfryul49v56ljen60o.png)
Final equation:
![y=(5)/(8)x-3](https://img.qammunity.org/2023/formulas/mathematics/college/75yvktn7kmqdlrs85h59typa5ppidxqz6g.png)