Diego and Maria are 2 miles apart when they begin walking toward each other. Diego is walking at a rate of 3.7 miles per hour and Maria is walking at a rate of 4.3 miles per hour. At the same time they begin walking, Diego’s dog, who runs at the rate of 6 miles per hour, runs from Diego, reaches Maria, and continues to run back and forth between them for the entire time they are walking. Assuming the dog does not lose any time in turning around, how far does the dog run?

Post your solution here.