You and your friend are out for a run. You are running at 9 miles per hour and your friend is walking at 3 miles per hour, along a 3 mile trail. You keep a constant pace, but double back whenever you are 1/4 of a mile ahead, or reach the end of the trail. How many miles do you end up running by the time she finishes the trail?