Cars A and B are traveling towards each other from A and B at the same time, meet each other in 8 hours, and continue driving after meeting. After 3 hours, the distance between the two cars is 360 kilometers. How many kilometers are there between A and B?
甲、乙两车分别从A、B两地同时相向而行，8小时相遇，相遇后继续行驶，3小时后两车相距360千米．A、B两地相距多少千米？
<gadget id="calculator">360 / 3</gadget>
<output>120</output>

<gadget id="calculator">120 * 8</gadget>
<output>960</output>

<result>960</result>