A taxi ride cost $1.25 plus $0.75 per mile. If the total cost of the trip is $12.50, how many miles did the passenger travel?
A. 6.25 miles
B. 9.4 miles
C. 10 miles
D. 15 miles