Carlos and Jonathan are 40 meters apart. They run towards each other along stright path to give each other ahug. The speed of Carlos is 5.3 /s while the speed of Jonathan is 4.7 m/s. As they start to run Jonathan's dog leaves him and run towards Carlos at 7.0 m/s. Upon reaching Carlos the dog runs towars Jonathan and continues to run back and forth until they meet. What is distance traveled by the dog when the two finally hug each other?