Jack takes a ride from a taxi company that charges $5 for the first mile and $1.25 for each additional mile. Jack has $12. How many miles can Jack’s taxi ride be?