A taxi charges an airport pickup fee of $3 plus $1.50 for each mile traveled. If a taxi ride cost John $36, how many miles did John travel in the taxi?

31 miles
21 miles
22 miles
32 miles