A and B start from A and B respectively at the same time and walk toward each other. The speed ratio of A and B is 5:3. After meeting, the two continue to move forward. A arrives at point B, and B immediately returns along the original road after arriving at point A. If the place where two people meet for the second time is 50 kilometers away from the place where they met for the first time, what is the distance in kilometers between A and B?
甲、乙两人分别从A、B两地同时出发，相向而行．甲、乙的速度比是5：3．两人相遇后继续行进，甲到达B地，乙到达A地后都立即沿原路返回．若两人第二次相遇的地点距第一次相遇的地点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">(5/8) * 3</gadget>
<output>15/8 = around 1.875</output>

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

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

<gadget id="calculator">50 / (1/2)</gadget>
<output>100</output>

<result>100</result>