Jim buys a wedding ring for $10,000.  He gets his wife a ring that is twice that much and sells the first one for half its value.  How much is he out of pocket?
The second ring cost 2*10000=$
<gadget id="calculator">2*10000</gadget>
<output>20_000</output>
20,000.
He sells the first ring for 10,000/2=$
<gadget id="calculator">10000/2</gadget>
<output>5_000</output>
5000.
So he is out of pocket 10000-5000=$
<gadget id="calculator">10000-5000</gadget>
<output>5_000</output>
5000.
So that means he is out of pocket 20,000+5000=$
<gadget id="calculator">20000+5000</gadget>
<output>25_000</output>
25,000.

<result>25_000</result>