Francisco took a taxi from his house to the airport. The taxi company charged a pick-up fee of $4.70 plus $2.50 per mile. The total fare was $14.70, not including the tip. How many miles was the taxi ride?