A car travels 40 kilometers per hour from A to B. When it reaches (2/3) the whole journey, the speed increases (1/2), so it arrives at B 1 hour earlier than the scheduled time. How many kilometers is the whole journey.
一辆汽车从A到B，每小时行40千米，当行到全程的(2/3)时，速度增加了(1/2)，因此比预定时间提早1小时到达B．全程多少千米．
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">1 + (1/2)</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">40 * (3/2)</gadget>
<output>60</output>

<gadget id="calculator">60 - 40</gadget>
<output>20</output>

<gadget id="calculator">(3/2) / 20</gadget>
<output>3/40 = around 0.075</output>

<gadget id="calculator">40 * (3/40)</gadget>
<output>3</output>

<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">1 - (2/3)</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">3 / (1/3)</gadget>
<output>9</output>

<gadget id="calculator">40 * 9</gadget>
<output>360</output>

<result>360</result>