Cars A and B start from places A and B at the same time and drive toward each other. After 10 hours, they meet at place C. If the speed of car A remains the same, car B will travel 6 kilometers per hour, and the two cars will still start from A. If two places, B and B start at the same time and go towards each other, then the meeting point is 18 kilometers away from C; The meeting point is 24 kilometers away from C; how many kilometers is the distance between AB and AB?
甲、乙两车分别从A、B两地同时出发，相向而行，10小时后相遇于C地，如果甲车速度不变，乙车每小时多行6千米，且两车还从A、B两地同时出发相向而行，则相遇点距C地18千米；如果乙车速度不变，甲车多行6千米，且两车还从AB两地同时出发相向而行，则相遇点距C地24千米；AB两地之间的距离为多少千米？
<gadget id="calculator">18 + 24</gadget>
<output>42</output>

<gadget id="calculator">42 / 6</gadget>
<output>7</output>

<gadget id="calculator">10 - 7</gadget>
<output>3</output>

<gadget id="calculator">18 / 3</gadget>
<output>6</output>

<gadget id="calculator">24 / 3</gadget>
<output>8</output>

<gadget id="calculator">6 + 8</gadget>
<output>14</output>

<gadget id="calculator">14 * 10</gadget>
<output>140</output>

<result>140</result>