Subject: mathqa
Question: a and b can do a piece of work in 30 days and 30 days respectively . they work together for 10 days and b leaves . in how many days the whole work is completed ?
Option: 
A: 45 days
B: 30 days
C: 40 days
D: 50 days
Answer: B