Answer:
each candy bar cost 5 dollars
Step-by-step explanation:
first the drink cost 3 dollars so take that away from the total and you have 40. then do 40 divided by the 8 candy bars and you get 5. Which means that each candy bar cost 5 dollars
The definition of the set E gives you a natural choice for the limits in the integral:

Computing the integral, we get



(fog) (x) = (5x - 7) / (5x - 4)
The denominator cannot be zero so the domain is All real x except x = 4/5