If A can do a piece of work in 20 days and B can do it in 30 days, how long will it take for both A and B to complete the work together?

Answer: B. 15 days
The combined work rate of A and B is 1/20 + 1/30 = 1/12. Therefore, they will complete the work together in 12 days.
Posted in:  Time & Work -  Aptitude -  Mathematics