Two cars, A and B, leave from cities A and B at the same time, meet each other after 7 hours, and then drive forward for 2 hours. At this time, car A is still 240 kilometers away from city B, and car B is still 240 kilometers away from city A. There are 360 kilometers, how many kilometers are the distance between A and B?
甲、乙两车分别从A、B两城同时相对开出，7小时后相遇，然后又各自向前行驶2小时，这时甲车距B城还有240千米，乙车距A城还有360千米，A、B两城相距多少千米？
<gadget id="calculator">240 + 360</gadget>
<output>600</output>

<gadget id="calculator">7 - 2</gadget>
<output>5</output>

<gadget id="calculator">600 / 5</gadget>
<output>120</output>

<gadget id="calculator">120 * 7</gadget>
<output>840</output>

<result>840</result>