This is a nice variation on a racing problem by Geoffrey Mott-Smith from 1954.
“On one side of the playground some of the children were holding foot-races, under a supervisor who handicapped each child according to age and size. In one race, she placed the big boy at the starting line, the little boy a few paces in front of the line, and she gave the little girl twice as much headstart over the little boy as he had over the big boy. The big boy won the race nevertheless. He overtook the little boy in 6 seconds, and the little girl 4 seconds later.
Assuming that all three runners maintained a uniform speed, how long did it take the little boy to overtake the little girl?”
See the Handicap Racing for solution.