Grady has 20 red numbered cubes and 15 blue numbered cubes. He gives his friend Gage 2/5 of his red numbered cubes and 1/3 of the blue numbered cubes. If Gage had 10 red numbered cubes and 12 blue numbered cubes, find the total number of cubes Gage has?
Grady gave 2/5 * 20 cubes = 
<gadget id="calculator">2/5*20</gadget>
<output>8</output>
8 of his red numbered cubes to Gage.
If Gage initially had 10 red numbered cubes, his total number of red numbered cubes became 10 cubes + 8 cubes = 
<gadget id="calculator">10+8</gadget>
<output>18</output>
18 cubes after Grady gave him 8 more.
Grady also gave 1/3 * 15 cubes = 
<gadget id="calculator">1/3*15</gadget>
<output>5</output>
5 blue numbered cubes to Gage.
This increased Gage's total number of blue numbered cubes to 12 cubes + 5 cubes = 
<gadget id="calculator">12+5</gadget>
<output>17</output>
17 cubes.
The total number of cubes Gage has is now 17 cubes + 18 cubes = 
<gadget id="calculator">17+18</gadget>
<output>35</output>
35 cubes.

<result>35</result>