During a 336-mile trip the car consumes 9.6 gallons of gasoline.
During a m-mile trip the car consumes 24 gallons of gasoline.
When the number of miles increases, the number of gallons of gasoline also increases. The car consumes gasoline at the same rate, so the ratio of miles to gallons is constant. The proportion is:
[tex]\frac{336}{9.6}=\frac{m}{24}[/tex]