Lupita rides a taxi that charges a flat rate of $6.75 plus $3.20 per mile. If the taxi charges Lupita $40.03 in total for her trip, how many miles is her ride?