Answer:
If the painter will paint for $25 per hour, then the amount of dollars for h number of hours is $25h , if the cost of paint is $15 per can, 10 cans will be $150. The cost C of painting the house is
C= 25h +150
The amount of hours the painter paints is make h the subject of the formula
h= (C - 150)/25