Explanation
1 hour's work of A = 2.5% (meaning A completes 2.5% of the work in 1 hour)
1 hour's work of B = 1.66% (meaning B completes 1.66% of the work in 1 hour)
Combined work rate of A and B in 1 hour = 2.5% + 1.66% = 4.16%
Time to complete the work = 100%/4.16% = 24 hours (since they work 8 hours a day, this is equivalent to 3 days)
So, A and B together can complete the work in 3 days, working 8 hours a day.