Step-by-step explanation:
We use the equation of line formula:
y = mx + c
We use the slope formula:
![m\text{ = }(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/sukh4lu5s7fgiz5v423o6usjd9gul4kfrj.png)
using any of two points: (0, 5) and (3, -1)
![\begin{gathered} x_1=0,y_1=5,x_2=3,y_2\text{ = }-1 \\ m\text{ = }(-1-5)/(3-0) \\ m\text{ = -6/3 = -2} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/minyw940cogd4orms814zddof5a3wnc111.png)
slope = m = -2
To get the y-intercept (c), we use any point above
(0, 5) = (x, y)
y = mx + c
5 = -2(0) + c
5 = 0 + c
c = 5
The equation of the line:
y = -2x + 5
first box = -2
second