George bought some food for his trip: a bottle of juice, a sandwich, and a bottle of milk. The sandwich was for $4, and the juice was two times more expensive. The bottle of milk cost was 75% of the total cost of the sandwich and juice. How much did George pay for his food?
The juice was two times more expensive than the sandwich, so it was 4 * 2 = $
<gadget id="calculator">2*4</gadget>
<output>8</output>
8.
The juice and the sandwich in total were a cost of 4 + 8 = $
<gadget id="calculator">4+8</gadget>
<output>12</output>
12.
So the cost of one bottle of milk was 75/100 * 12 = $
<gadget id="calculator">75/100*12</gadget>
<output>9</output>
9.
In total for all the food, George paid 12 + 9 = $
<gadget id="calculator">12+9</gadget>
<output>21</output>
21.

<result>21</result>