Frank goes to the store to buy some food. He buys 5 chocolate bars and 2 bags of chips. He hands the cashier $20 and gets $4 back as change. If the chocolate bars each cost $2, how much did each bag of chips cost?
His entire purchase cost $20 - $4 = $
<gadget id="calculator">20-4</gadget>
<output>16</output>
16.
The chocolate bars cost 5 * $2 = $
<gadget id="calculator">5*2</gadget>
<output>10</output>
10.
The bags of chips cost a total of $16 - $10 = $
<gadget id="calculator">16-10</gadget>
<output>6</output>
6.
Each bag of chips cost $6 / 2 = $
<gadget id="calculator">6/2</gadget>
<output>3</output>
3.

<result>3</result>