The pizzeria sells small pizzas for $2 and large pizzas for $8. They sold $40 in pizzas. If they sold 8 small pizzas, how many large pizzas did they sell?
They earned 8*2= $
<gadget id="calculator">8*2</gadget>
<output>16</output>
16 from the small pizzas.
The large pizzas earned 40-16=$
<gadget id="calculator">40-16</gadget>
<output>24</output>
24.
They sold 24/8= 
<gadget id="calculator">24/8</gadget>
<output>3</output>
3 large Pizzas.

<result>3</result>