answer is B:
If Dev works alone he will take 20 more hours to complete a task than if he worked with Tina to complete the task. If Tina works alone, she will take 5 more hours to complete the complete the task, then if she worked with Dev to complete the task? What is the ratio of the time taken by Dev to that taken by Tina if each of them worked alone to complete the task?
Take the time necessary to complete the job by both Dev and Tina to be x.
From the problem statement, time necessary to complete the job by Dev alone is: x+20
From the problem statement, time necessary to complete the job by Tina alone is: x+5
Rate of work when Dev and Tina work together: 1/x
Rate of work when Dev works alone: 1/(20+x)
Rate of work when Tina works alone: 1/(5+x)
The rate of work when Tina and Dev works together is equal to sum of the rates when Tina and Dev work alone:
1/x=1/(20+x)+ 1/(5+x)
When simplified the equation becomes:
X^2=100
X can only be the positive as we talk about tome, so x=10
The necessary ratio is T(Dev)/T(Tina)=(x+20)/(x+5)=30/15=2:1