Two trains depart from A and B at the same time, and meet at a distance of 48 kilometers from the midpoint 4 hours later. It is known that the speed ratio of the slow train to the fast train is 5:7, how many kilometers is the distance between A and B?
两列火车从甲乙两地同时相对开出，4小时后在距中点48千米处相遇．已知慢车与快车的速度比是5：7，甲乙两地相距多少千米？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

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

<gadget id="calculator">(1/2) - (5/12)</gadget>
<output>1/12 = around 0.083333</output>

<gadget id="calculator">48 / (1/12)</gadget>
<output>576</output>

<result>576</result>