The passenger car and the truck drive in opposite directions from the midpoint of A and B at the same time. After 5 hours, the bus arrives at A, and the truck is 80 kilometers away from B. It is known that the speed ratio of the truck to the passenger car is 5:7. Find the distance in kilometers between A and B.
客车和货车同时从甲、乙两地的中点向相反方向行驶，5小时后，客车到达甲地，货车离乙地还有80千米，已知货车与客车的速度比是5：7，求甲、乙两地相距多少千米．
<gadget id="calculator">7 - 5</gadget>
<output>2</output>

<gadget id="calculator">80 / 5 / 2</gadget>
<output>8</output>

<gadget id="calculator">8 * 5</gadget>
<output>40</output>

<gadget id="calculator">7 / 5</gadget>
<output>7/5 = around 1.4</output>

<gadget id="calculator">40 * (7/5)</gadget>
<output>56</output>

<gadget id="calculator">40 + 56</gadget>
<output>96</output>

<gadget id="calculator">5 * 96</gadget>
<output>480</output>

<gadget id="calculator">480 + 80</gadget>
<output>560</output>

<result>560</result>