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:

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

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:
