Im confused by the numbers cited. Gas only weighs 6 lbs per gallon. Assume a car gets 20 miles per gallon. How does a car produce 20 lbs of CO2 per mile?
Not 20 lbs of CO2 per mile. Most of the mass of gasoline is carbon. But most of the resultant CO2 mass is oxygen. So each gallon (6 lbs) of gasoline produces about 20 pounds of CO2. So in your example of a 20mpg car, each mile is a pound of CO2.
Its 23 pounds of CO2 per 7 pound gallon of gasoline. Simple chemistry. A (CH2)x unit in gasoline combusts to CO2. Thats an increase from 14 atomic units to 44 atomic units by replacing H by O.
Since the average internal combustion vehicle uses 500 gallons a year, that is about 6 tons of CO2.