A family of parents and a child go to the cinema. The cost of an adult ticket is $12 and a child ticket is $8. Then they buy 2 popcorns for $3 each. How many dollars do they pay in total?
Adult tickets cost 12*2=$
<gadget id="calculator">12*2</gadget>
<output>24</output>
24.
Popcorns cost 2*3=$
<gadget id="calculator">2*3</gadget>
<output>6</output>
6.
They pay 24+8+6=$
<gadget id="calculator">24+8+6</gadget>
<output>38</output>
38 in total.

<result>38</result>