Q. A alone can complete a work in 40 days. A and B together can complete one-fourth of the work in 3 days. If A started the work alone and, after 8 days, B joined, then find the number of days taken by A and B together to complete the remaining work.