Take two baskets of pears, take out (1/5) from the first basket and give them to the second basket. The two baskets are just equal, and the second basket contains 40 kg of pears. How many kilograms of pears are there in the second basket?
两筐梨，从第一筐中取出(1/5)给第二筐后两筐正好相等，这时第二筐有梨40千克．第二筐原来有梨多少千克？
<gadget id="calculator">1 / 5</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1 - (1/5)</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">40 / (4/5)</gadget>
<output>50</output>

<gadget id="calculator">50 * (1/5)</gadget>
<output>10</output>

<gadget id="calculator">40 - 10</gadget>
<output>30</output>

<result>30</result>