Marlene wants to buy half a dozen of shirts to avail of the sale. The regular price of a shirt is $50 and is now on sale at a 20% discount. How much will Marlene pay for the shirts?
Marlene wants to buy 12/2 = 
<gadget id="calculator">12/2</gadget>
<output>6</output>
6 shirts.
The discount price of the shirt is $50 x 20/100 = $
<gadget id="calculator">50*20/100</gadget>
<output>10</output>
10.
So, the shirt will only costs $50 - $10 = $
<gadget id="calculator">50-10</gadget>
<output>40</output>
40 each.
Thus, Marlene will pay $40 x 6 = $
<gadget id="calculator">40*6</gadget>
<output>240</output>
240 for the 6 shirts.

<result>240</result>