Given
To find the equation for the line in slope-intercept form.
Step-by-step explanation:
It is given that,
The given line passes through (1,25), (2,40).
That implies,
The slope of the line is,
![\begin{gathered} m=(40-25)/(2-1) \\ m=(15)/(1) \\ m=15 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8qo53jmn1foi355f3fis1tgpulpcq6rh8m.png)
Therefore, the equation of the line is,
![y=15x+c](https://img.qammunity.org/2023/formulas/mathematics/college/qn73239a4gyfgb35keo1988sv643j71qoe.png)
Since it passes through (1,25).
Then,
![\begin{gathered} 25=15+c \\ c=25-15 \\ c=10 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2ezyssu2f79wnyz7hyzzc9fkhrddv9brt8.png)
Hence, the equation of the line is y=15x+10.