Nigel won $45 but gave some away. His mother gave him $80 more. If now Nigel has $10 more than twice the amount he originally had, how much money did he give away?
Twice the amount Nigel originally had is 2 * 45 = 
<gadget id="calculator">2*45</gadget>
<output>90</output>
90 dollars.
Now, Nigel has 10 dollars more, meaning that he has 10 + 90 = 
<gadget id="calculator">10+90</gadget>
<output>100</output>
100 dollars.
Before his mother gave him 80 dollars, he had been left with 100 - 80 = 
<gadget id="calculator">100-80</gadget>
<output>20</output>
20 dollars.
This means that Nigel gave away 45 - 20 = 
<gadget id="calculator">45-20</gadget>
<output>25</output>
25 dollars.

<result>25</result>