The slope-intercept form: y= mx + b
m - slope
b - y-intercept
The formula of a slope:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/f1mmnaagpgekz18c7le6pv8n08l5ewlng8.png)
We have the points (6, 2) and (5, 5). Substitute:
![m=(5-2)/(5-6)=(3)/(-1)=-3](https://img.qammunity.org/2019/formulas/mathematics/middle-school/albntro8zbqdi9oib4a2djd2bbkgyr96ff.png)
Therefore we have y = -3x + b.
Put the coordinates of the point (5, 5) to the equation:
5 = -3(5) + b
5 = -15 + b add 15 to both sides
20 = b
Answer: y = -3x + 20