Lee filled up his gas tank before starting a road trip. If he used 5.8 gallons two hours into the trip, and has 12.4 gallons remaining, how many gallons did he start with?