X can do a piece of work in 12 days which Y can do in 18 days. They begin together but 6 days before the completion of the work, X leaves. The total number of days to complete the work is?
54/5 days
Y's 6day's work = (118 × 6) = 13, Remaining work = (1−13) = 23
(X + Y)'s 1day's work = (112+118) = 536
Now, 536 work is done by X and Y in 1 day
∴ 23 work is done by X and Y in (365 × 23) = 245 days
Hence, total time taken = (6+245)days = 1045days.