Two cars, passenger and freight, depart from places A and B at the same time. When they meet, the ratio of the journey of the passenger car to the journey of the truck is 5:3. It is known that the passenger car travels 122 kilometers longer than the truck. How many kilometers is the distance between A and B?
客货两车分别从甲乙两地同时相对开出，相遇时客车的行程与货车行程的比是5：3，已知客车比货车多行了122千米，甲乙两地相距多少千米？
<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">3 / 8</gadget>
<output>3/8 = around 0.375</output>

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

<gadget id="calculator">122 / (1/4)</gadget>
<output>488</output>

<result>488</result>