Lucy took a taxi from her house to the airport. The taxi company charged a pick-up fee of $3.80 plus $3 per mile. The total fare was $39.80, not including the tip. Write and solve an equation which can be used to determine xx, the number of miles in the taxi ride.