and worker B finishes a job in B days
Then worker A's rate is
Then worker B's rate is
But we know that worker A is "twice" as good (2 times as fast) as worker B
We can now set the rates equal
Plugging in and solving for A gives A=27.
I hope this helps