Question 64929
Dave drives a total of 577 miles. The fuel required to drive that distance is 577/18.2 = 31.7 gallons

If this includes the 8 gallons he added then he must have started with 31.7-8=23.7 gallons.