Mabel has 5 daisies in her garden, and each daisy has 8 petals.  If she gives 2 daisies to her teacher, how many petals does she have on the remaining daisies in her garden?
The total number of petals Mabel has in her garden is 5 x 8 = 
<gadget id="calculator">5*8</gadget>
<output>40</output>
40 petals.
The total number of petals that Mabel gives to her teacher is 2 x 8 = 
<gadget id="calculator">2*8</gadget>
<output>16</output>
16 petals.
The total number of petals remaining in her garden is 40 - 16 = 
<gadget id="calculator">40-16</gadget>
<output>24</output>
24 petals.

<result>24</result>