Jean needs to buy 10 new pairs of pants.  A store is running a sale for 20% off.  If the pants normally retail for $45 each how much will she need to pay for all of them after paying a 10% tax?
The discount is 45*.2=$
<gadget id="calculator">45*.2</gadget>
<output>9</output>
9 off each pair.
So she pays 45-9= $
<gadget id="calculator">45-9</gadget>
<output>36</output>
36 each.
So it will cost 36*10=$
<gadget id="calculator">36*10</gadget>
<output>360</output>
360 before tax.
The tax will add 360*.1=$
<gadget id="calculator">360*.1</gadget>
<output>36</output>
36.
So she has to pay 360+36=$
<gadget id="calculator">360+36</gadget>
<output>396</output>
396.

<result>396</result>