Jam has three boxes full of pencils and 2 loose pencils which give a total of 26 pencils. If her sister, Meg, has 46 pencils, how many boxes do Jam and Meg need to store all their pencils?
There are a total of 26 - 2 = 
<gadget id="calculator">26-2</gadget>
<output>24</output>
24 pencils in the three boxes.
Thus, each box can contain 24 / 3 = 
<gadget id="calculator">24/3</gadget>
<output>8</output>
8 pencils.
Together, Jam and Meg have 26 + 46 = 
<gadget id="calculator">26+46</gadget>
<output>72</output>
72 pencils.
Therefore, they need 72 / 8 = 
<gadget id="calculator">72/8</gadget>
<output>9</output>
9 boxes to put in all their pencils.

<result>9</result>