John has 2 hives of bees.  One of the hives has 1000 bees and produces 500 liters of honey.  The second has 20% fewer bees but each bee produces 40% more honey.  How much honey does he produce?
The second hive has 20/100*1000 = 
<gadget id="calculator">20/100*1000</gadget>
<output>200</output>
200 fewer bees.
This translates to 1000-200 = 
<gadget id="calculator">1000-200</gadget>
<output>800</output>
800 bees.
Each bee in the first hive produces 1000/500 = 
<gadget id="calculator">1000/500</gadget>
<output>2</output>
2 liters.
The second hive has bees each producing 1.4*2 = 
<gadget id="calculator">1.4*2</gadget>
<output>2.8</output>
2.8 liters.
The total amount of honey produces by the bees in the second hive is 2.8*700 = 
<gadget id="calculator">2.8*700</gadget>
<output>1_960</output>
1960.
The total honey produced is 1960+500 = 
<gadget id="calculator">1960+500</gadget>
<output>2_460</output>
2460 liters.

<result>2_460</result>