For a fixed number of miles, the gas mileage of a car (miles/gallon) varies inversely with the number of gallons. Stephen's truck averaged 24 miles per gallon and used 750 gallons of gas in one year. If the next year, to drive the same number of miles, Stephen drove a compact car averaging 39 miles per gallon, how many gallons of gas would he use?