A and B together can do a piece of work in 40 days. A having worked for 20 days, B finishes the remaining work alone in 60 days. In How many days shall B finish the whole work alone?

Correct Answer: 80

Let A's 1 day's work=x and B's 1 day's work=y

Then x+y = 1/40 and 20x+60y=1 

Solving these two equations , we get : x= 1/80 and y= 1/80

Therefore B's  1 day work = 1/80

Hence,B alone shall finish the whole work in 80 days