Sharon took a taxi from her home to the airport. The driver charged an initial fee of $4 plus $1.50 per mile. The total fare was $22, not including the tip. How many miles did Sharon travel by taxi?