Answer: 2 hours
Explanation:
Given: The total number of trees need to plant = 50
In 8 hours , the number of trees planted = 40
The rate of trees planted is given by :-

Hence, they are planting 5 trees in one hour.
So if they planted 40 trees, the remaining trees=50-40=10
The number of hours taken by crew to plant them =

The total time taken by the crew to complete the work =8+2=10 hours