Steve bought $25 worth of groceries. He bought a gallon of milk for $3, two boxes of cereal for $3.5 each, 4 bananas for $.25 each, four apples that cost $.5 each and a number of boxes of cookies. The cookies cost twice as much per box as the gallon of milk. How many boxes of cookies did he get?
He spent $7 on cereal because 2 x 3.5 = 
<gadget id="calculator">2*3.5</gadget>
<output>7</output>
7.
He spent $1 on bananas because 4 x .25 = 
<gadget id="calculator">4*.25</gadget>
<output>1</output>
1.
He spent $2 on apples because 4 x .5 = 
<gadget id="calculator">4*.5</gadget>
<output>2</output>
2.
He spent 13 on everything but the cookies because 3 + 7 + 1 + 2 = 13.
He spent $12 on cookies because 25 - 13 = 
<gadget id="calculator">25-13</gadget>
<output>12</output>
12.
Each box of cookies is $6 because 3 x 2 = 
<gadget id="calculator">3*2</gadget>
<output>6</output>
6.
He bought 2 boxes of cookies because 12 / 6 = 
<gadget id="calculator">12/6</gadget>
<output>2</output>
2.

<result>2</result>