Two cars, fast and slow, depart from A and B at the same time. The express train travels 45 kilometers per hour, and the slow train travels 20 kilometers per hour. Two cars go back and forth between places A and B continuously. If the fast and slow cars meet each other head-on for the first time, then the fast car travels 360 meters and then meets the slow car for the second time, what is the distance between A and B?
快慢两车同时从甲、乙两地相向出发．快车每小时行45千米，慢车每小时行20千米．两车不断往返甲乙两地．如果快慢两车在第一次迎面相遇后，快车再行驶360米后第二次与慢车迎面相遇，那么甲乙两地距离是多少？
<gadget id="calculator">45 + 20</gadget>
<output>65</output>

<gadget id="calculator">360 / 45</gadget>
<output>8</output>

<gadget id="calculator">8 / 2</gadget>
<output>4</output>

<gadget id="calculator">65 * 4</gadget>
<output>260</output>

<result>260</result>