A takes 10 days less than the time taken by B to finish a piece of work, if both A and B together fi