Respuesta :

To find the equation of a line in slope-intercept form (y=mx+b) you follow the next steps:

1. Find the slope (m). Use two points in the line in the next formula:

[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]

Points: (0,40) and (8,0)

[tex]m=\frac{0-40}{8-0}=\frac{-40}{8}=-5[/tex]

2. Identify the yintercept: It is the value of the function when it cross the y-axis, or the value of the function when x=0

y-intercept in the given line is 40.

Then, you have the next equation in slope-intercept form for the given line:[tex]y=-5x+40[/tex]