Slope-intercept form: y= mx + b (m is the slope, b is the y-intercept or the y value when x = 0 ---> (0, y))
To find the slope, use the slope formula and plug in 2 points:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2020/formulas/mathematics/high-school/pj0y5tg37a7a9ase0auiwe687ez8iaw2vl.png)
(x₁ , y₁) = (5, 2)
(x₂ , y₂) = (10, 6)
![m=(6-2)/(10-5) =(4)/(5)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/gazj562w8chwoev2p3u79jwjt1o19vja4h.png)
To find b, plug in a point into the equation (5, 2)
![2=(4)/(5)(5)+b](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ffuvnjay80dod2nw90vxxaiwddfjkauhh0.png)
2 = 4 + b
-2 = b
![y=(4)/(5)x -2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/jmbxf70qsl6fh91i7qsooh8sd0fok0s3j4.png)