Please this confused me, could you explain it too, and show with steps.

Answer:
The linear equation is y = -5/8x+15 - Part A
15in - Part B
x = 24 - Part C
Step-by-step explanation:
Part A:
x = number of hours since she filled it
y = amount of ketchup remaining in the bottle
and knowing that we get the points (5, 11[tex]\frac{7}{8}[/tex]) and (8, 10)
Now get the slope of these points.
1. Slope formula
m = y2-y1/x2-x1
2. plug it in and you should get:
m = -5/8
3. Then substitute m = -5/8 and (x1, y1) into the point slope formula then solve for y to write the equation in slope intercept form
4. Point Slope Form = y-y1 = m(x-x1)
y-10 = -5/8(x-8) - substitute
y-10 = -5/8x+5 - distribute
y = -5/8x+15 - add 10 on both sides
The linear equation is y = -5/8x+15
Part B:
x represents the hours since she filled it, x = 0 is when she filled the dispenser
= 15in
Part C:
y = -5/8x+15
0 = -5/8x+15
5/8x = 15
x = 24