Kiran and Clare live 24 miles away from each other along a rail trail. One Saturday, the two friends started walking toward each other along the trail at 8:00 a.m. with a plan to have a picnic when they meet.
On his trip to meet Clare, Kiran brought his dog with him. At the same time Kiran and Clare started walking, the dog started running 6 miles per hour. When it got to Clare it turned around and ran back to Kiran. When it got to Kiran, it turned around and ran back to Clare, and continued running in this fashion until Kiran and Clare met. How far did the dog run?