Jim is wondering how many miles each gallon of gas gets him. His gas tank is 12 gallons. He has 2/3 of a tank left after he drives to and from work, which is 10 miles away from his house. How many miles per gallon does he get?
He used 1/3 of his tank because 1 - (2/3) = 1/3.
He used 4 gallons of gas because 12 x (1/3) = 
<gadget id="calculator">12*(1/3)</gadget>
<output>4</output>
4.
He drove 20 miles because 2 x 10 = 
<gadget id="calculator">2*10</gadget>
<output>20</output>
20.
He gets 5 miles per gallon because 20 / 4 = 
<gadget id="calculator">20/4</gadget>
<output>5</output>
5.

<result>5</result>