A can do a piece of work in 14 days while B can do it in 21 days. They began together and worked at it for 6 days. Then, A fell ill and B had to complete the remaining work alone. In how many days was the work completed?
Time taken by A to complete the work =14 days
i.e., Work done by A in one day =114
Time taken by B to complete the work =21 days
i.e., Work done by B in one day =121
Work done jointly by A and B in one day =114+121
=3+242=542
Work done by A and B in 6 days =542×6=57
Work left =1−57=7−57=27
With B working alone, time required to complete the work
=27÷121 [Since, Work done by B in one day is 121]
=27×21
=2×3
=6 days
Hence, B complete the remaining work in 6 days, previous work done By A and B in 6 days.
So, the total time taken to complete the work =6+6=12 days