Cars A and B are traveling towards each other from A and B at the same time, with a speed ratio of 5:7. After meeting, the two cars continue to drive, and return immediately after reaching their respective destinations. When the two cars meet for the second time, car A leaves B for 80 kilometers. How many kilometers are there between A and B?
甲、乙两辆汽车分别从A、B两地同时相向而行，速度比是5﹕7．相遇后两车继续行驶，到达各自的终点后立即返回，当两车第二次相遇时，甲汽车离开B地80千米．A、B两地相距多少千米？
<gadget id="calculator">5 + 7</gadget>
<output>12</output>

<gadget id="calculator">5 / 12</gadget>
<output>5/12 = around 0.416667</output>

<gadget id="calculator">(5/12) * 3</gadget>
<output>5/4 = around 1.25</output>

<gadget id="calculator">(5/4) - 1</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">80 / (1/4)</gadget>
<output>320</output>

<result>320</result>