Fred is driving to a city that is 40 miles away. He tells you by radio that he has driven three-quarters of the way there. How far has Fred driven?
A. 10 miles
B. 20 miles
C. 25 miles
D. 30 miles