Cars A, B, and C drive from A to B simultaneously at the same speed. One hour after departure, car A breaks down, so cars B and C continue to move forward, and car A stays for half an hour and continues to move forward at the original speed (5/6). When the two cars B and C traveled to a distance of 240 kilometers from place A, car B broke down, so car C continued to move forward, and car B continued to move forward at the original speed (5/6) after stopping for half an hour. As a result, car C arrives at place B 1 hour earlier than car B, and car B arrives at place B 1 hour earlier than car A. Find the distance between A and B.
A、B、C三辆车以相同的速度同时从甲地开往乙地．出发后1小时，A车出了故障，于是B和C两车继续前进，A车停留半小时后，以原速度的(5/6)继续前进．B、C两车行至距离甲地240千米处时，B车出了故障，于是C车继续前进，B车停留半小时后，也以原速度的(5/6)继续前进．结果，C车比B车早1小时到达乙地，B车比A车早1小时到达乙地．求甲、乙两地的距离．
<gadget id="calculator">6 / 5</gadget>
<output>6/5 = around 1.2</output>

<gadget id="calculator">(6/5) - 1</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1.5 / (1/5)</gadget>
<output>7.5</output>

<gadget id="calculator">0.5 / (1/5)</gadget>
<output>2.5</output>

<gadget id="calculator">7.5 - 2.5</gadget>
<output>5</output>

<gadget id="calculator">1 + 5</gadget>
<output>6</output>

<gadget id="calculator">240 / 6</gadget>
<output>40</output>

<gadget id="calculator">1 + 7.5</gadget>
<output>8.5</output>

<gadget id="calculator">40 * 8.5</gadget>
<output>340</output>

<result>340</result>