Aaron and his brother Carson each saved up $40 to go to dinner. The bill is 3/4 of their total money. After, they go out for ice cream. Each scoop costs $1.5 and they get the same amount as each other. If they leave with $1 in change each, how many scoops did they each buy?
They had $80 saved up because 2 x 40 = 
<gadget id="calculator">2*40</gadget>
<output>80</output>
80.
They spent $60 because 80 x (3/4) = 
<gadget id="calculator">80*(3/4)</gadget>
<output>60</output>
60.
They had $20 left for ice cream because 80 - 60 = 
<gadget id="calculator">80-60</gadget>
<output>20</output>
20.
They had $2 left after leaving the ice cream shop because 2 x 1 = 
<gadget id="calculator">2*1</gadget>
<output>2</output>
2.
They spent $18 on ice cream because 20 - 2 = 
<gadget id="calculator">20-2</gadget>
<output>18</output>
18.
The bought 12 scoops of ice cream because 18 / 1.5 = 
<gadget id="calculator">18/1.5</gadget>
<output>12</output>
12.
The each bought 6 scoops because 12 / 2 = 
<gadget id="calculator">12/2</gadget>
<output>6</output>
6.

<result>6</result>