A girl takes a walk with her father and their dog. She starts with the dog on the leash 10 seconds before her father. When her father starts, she takes the dog of the leash and the dog runs to the father. When the dog reaches the father, he runs back to the girl. The dog does so until the father reaches the girl.
If the dog runs 5 m/s, the father 2m/s and the girl 1 m/s, what distance does the dog run until the father reaches the girl?