Working alone at their respective constant rates. A can complete a task `a’ days and B in ‘b’ days . They take turns in doing the task with each working 2 days at a time. If A starts they finish the task in exactly 10 days . If B starts, they take half a day more. Hoe long does it take to complete the task if they both work together?