1 answer
(click or scroll down)
If Ariel takes x hours, then it takes Teddy (x-5) hours. So, adding up all their work, you get
1/x + 1/(x-5) = 1/6
Now just find x