Final answer:
By setting the equation for the first company's charges equal to the second company's charges, we find that after 2 hours the cleaning costs will be the same.
Step-by-step explanation:
The student asks after how many hours the cost of two different cleaning companies will be the same. To find the number of hours, we set up two equations representing the cost (C) of each company: C1 = 25 + 15h for the first company and C2 = 15 + 20h for the second company, where h is the number of hours.
By setting C1 equal to C2, we can find the point where the costs are the same: 25 + 15h = 15 + 20h. Solving for h, we subtract 15h from both sides to get 25 = 15 + 5h, and then subtract 15 from both sides to obtain 10 = 5h. Dividing by 5, we find that h = 2.
Therefore, after 2 hours, the cost to clean will be the same for both cleaning companies.