X takes 10 days to complete a task. Y takes half that time to complete the same task. X starts working on the task and later Y joins X. Both work on the task together and complete the task. If 40% of the total work is done by X, for how many days did X and Y work together?
A. 2
B. 3
C. 4
D. 5
E. 6
A. 2
B. 3
C. 4
D. 5
E. 6