The equation of a line can be written using the slope-intercept form given as
[tex]y=mx+c[/tex]For that equation, we need to find m (rate of change) and c (y-intercept).
To find m, we can use the formula
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Let us pick any two points on the graph such that
[tex]\begin{gathered} (x_1,y_1)\Rightarrow(-2,10.0) \\ \text{and} \\ (x_2,y_2)\Rightarrow(1,2.5) \end{gathered}[/tex]Substituting these into the equation, we have
[tex]\begin{gathered} m=\frac{2.5-10.0}{1-(-2)} \\ m=-\frac{5}{2} \end{gathered}[/tex]The intercept, c, can be calculated by substituting the rate of change, m, and any point coordinates to the equation of a line.
Let us pick the point
[tex](x,y)=(0,5.0)[/tex]Substituting, we have
[tex]\begin{gathered} 5=(-\frac{5}{2}\times0)+c \\ \therefore \\ c=5 \end{gathered}[/tex]Therefore, we have the equation of the line to be
[tex]y=-\frac{5}{2}x+5[/tex]Multiplying all terms by 2 to clear out the fraction, we get the equation to be
[tex]2y=-5x+10[/tex]