A truck travels from A to B at 30 kilometers per hour. After running 1/3 of the full distance, a car travels from B to A at 40 kilometers per hour. The car met the truck 3 hours after driving out. What is the distance in kilometers between A and B?
一辆货车从甲地开往乙地，每小时行30千米，跑了全程的(1/3)后，一辆小汽车从乙地开往甲地，每小时行40千米．小汽车开出3小时后与货车相遇．甲、乙两地的距离是多少千米？
<gadget id="calculator">40 + 30</gadget>
<output>70</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

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

<gadget id="calculator">3 / (2/3)</gadget>
<output>9/2 = around 4.5</output>

<gadget id="calculator">70 * (9/2)</gadget>
<output>315</output>

<result>315</result>