Two trains A and B depart from opposite places at the same time. After 2 hours, the ratio of the traveled distance to the untraveled distance is 4:7. It is known that the sum of the speeds of the two trains A and B is 240 kilometers. Q: How many kilometers is the distance between the two places?
甲、乙两列火车同时从两地相对开出，2小时后已行的路程与未行的路程比是4：7，已知甲、乙两列火车的速度和是240千米．问：两地相距多少千米？
<gadget id="calculator">4 + 7</gadget>
<output>11</output>

<gadget id="calculator">4 / 11</gadget>
<output>4/11 = around 0.363636</output>

<gadget id="calculator">2 / (4/11)</gadget>
<output>11/2 = around 5.5</output>

<gadget id="calculator">240 * (11/2)</gadget>
<output>1_320</output>

<result>1_320</result>