The equation C = 40x + 25 gives the cost, C, to hire a plumber for x hours.

a. What is the cost for 4 hours?
b. If the cost is $265, for how many hours did the plumber work?