Isabela bought twice as many cucumbers as pencils, with both costing $20 each. If she got a 20% discount on the pencils and bought 100 cucumbers, calculate the total amount she spent to buy the items.
Isabela bought twice as many cucumbers as pencils, meaning she bought 100/2 = 
<gadget id="calculator">100/2</gadget>
<output>50</output>
50 pencils.
The total cost for purchasing the pencils without the discount is 50*$20 = $
<gadget id="calculator">50*20</gadget>
<output>1_000</output>
1000.
At a 20% discount, Isabela paid 20/100*$1000 = $
<gadget id="calculator">20/100*1000</gadget>
<output>200</output>
200 less.
The total amount of money she used to buy the pencils is $1000-$200 = $
<gadget id="calculator">1000-200</gadget>
<output>800</output>
800.
She also bought the cucumbers at a total cost of $20*100=$
<gadget id="calculator">20*100</gadget>
<output>2_000</output>
2000.
The total cost for the items is $2000+$800= $
<gadget id="calculator">2000+800</gadget>
<output>2_800</output>
2800.

<result>2_800</result>