Steve's new book sells 1,000,000 copies.  He got an advance to pay for 100,000 copies. He gets $2 for each copy of the book sold.  His agent takes 10% of that.  How much money did he keep not counting the money from the advance?
He sold 1,000,000-100,000=
<gadget id="calculator">1000000-100000</gadget>
<output>900_000</output>
900,000 not counting the advance.
So he made 900,000*2=$
<gadget id="calculator">900000*2</gadget>
<output>1_800_000</output>
1,800,000 from selling the books.
His agent took 1,800,000*.1=$
<gadget id="calculator">1800000*.1</gadget>
<output>180_000</output>
180,000.
That means he kept 1,800,000-180,000=$
<gadget id="calculator">1800000-180000</gadget>
<output>1_620_000</output>
1,620,000.

<result>1_620_000</result>