A man drove a total round trip distance of 646.25 miles. His car used 12 gallons of gas in one direction and 11.5 on the return trip. What was his average mileage for the entire trip?​