Betty and Dora started making some cupcakes at the same time. Betty makes 10 cupcakes every hour and Dora makes 8 every hour. If Betty took a two-hour break, what is the difference between the number of cupcakes they made after 5 hours?
Dora made 8 cupcakes per hour for 5 hours for a total of 8*5 = 
<gadget id="calculator">8*5</gadget>
<output>40</output>
40 cupcakes.
Betty took a 2-hour break so she spent 5-2 = 
<gadget id="calculator">5-2</gadget>
<output>3</output>
3 hours making cupcakes.
Betty made 10 cupcakes per hour for 3 hours for a total of 10*3 = 
<gadget id="calculator">10*3</gadget>
<output>30</output>
30 cupcakes.
The difference between the number of cupcakes they made is 40-30 = 
<gadget id="calculator">40-30</gadget>
<output>10</output>
10 cupcakes.

<result>10</result>