Correct option is A
Given:
A can complete the task in 30 days.
B can complete the task in 40 days. We are asked to find the time taken by A and B working together to complete the task.
Concept Used:
The combined work rate of A and B is:
Combined work rate
Time taken by A and B together =
Solution:
The work rate of A is (since A completes the task in 30 days).
The work rate of B is (since B completes the task in 40 days).
Combined work rate =
Time taken by A and B together = days
Alternate Method:

Time taken by A and B together = days