Two cars leave an intersection. One car travels north; the other east. When the car traveling north had gone 9 miles, the distance between the cars was 3 miles more than the distance traveled by the car heading east. How far had the eastbound car traveled?