Answer:
40 hours
Explanation:
This is an example of a work-rate-time problem
Since the experienced roofer can finish the job in 24 hours, his rate of work would be 1/24 (of the roof) per hour
Let the time taken by the trainee alone be x hours
His rate of work =

Together they finish the roof in 15 hours
So combined work rate =

Since combined rate = sum of individual rates we get

Move 1/24 to the right side:


Taking reciprocals on both sides
