Question

A woman and her dog are out for a morning run to the river, which is located 4.0 km away. the woman runs at 2.5 m/s in a strait line. the dog is unleashed and runs back and forth at 4.5 m/s between his owner and the river, until the woman reaches the river. what is the total distance run by the dog?