A woman and her dog are out for a morning run to the river, which is located 4.56 km away. The woman runs at 3.27 m/s in a straight line. The dog is unleashed and runs back and forth at 5.23 m/s between his owner and the river, until she reaches the river. What is the total distance run by the dog (in meters)?