A and B can complete a work in 15 days and 10 days respectively. They started doing the work together but after 2 days B had to leave and A alone completed the remaining work. The total time taken for the work to be completed was
12 days
(A + B)'s 1 day's work = 115 + 110 = 16
Work done by A and B in 2 days = 16 × 2 = 13
Remaining work = 1 - 13 = 23
Now, 115 work is done by A in 1 day.
So, 23 work will be done by A in 15 × 23 = 10 days
Hence, the total time taken = 10 + 2 = 12 days.