At 8:00 in the morning, a passenger car and a truck leave opposite directions from cities A and B. The speed ratio of the two cars is 5:3. At 10:30, the two cars meet at a distance of 50 kilometers from the midpoint. How many miles is the distance between A and B?
上午8：00，一辆客车和一辆货车从A、B两城相向开出，两车在速度比为5：3，到10：30两车在离中点50千米处相遇．A、B两城之间的路程是多少千米？
<gadget id="calculator">5 + 3</gadget>
<output>8</output>

<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

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

<gadget id="calculator">50 / (1/8)</gadget>
<output>400</output>

<result>400</result>