The passenger car and the truck depart from A and B oppositely at the same time. It takes 8 hours for the passenger car to complete the journey, and 12 hours for the truck to complete the journey. How many kilometers is the distance between A and B?
客车和货车同时从甲、乙两地相向开出，客车行完全程要8小时，货车行完全程要12小时，当两车相遇后又相距全程的(1/20)时，客车行了252千米，甲、乙两地相距多少千米？
<gadget id="calculator">1 / 20</gadget>
<output>1/20 = around 0.05</output>

<gadget id="calculator">1 + (1/20)</gadget>
<output>21/20 = around 1.05</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">1 / 12</gadget>
<output>1/12 = around 0.083333</output>

<gadget id="calculator">(1/8) + (1/12)</gadget>
<output>5/24 = around 0.208333</output>

<gadget id="calculator">(21/20) / (5/24)</gadget>
<output>126/25 = around 5.04</output>

<gadget id="calculator">(126/25) * (1/8)</gadget>
<output>63/100 = around 0.63</output>

<gadget id="calculator">252 / (63/100)</gadget>
<output>400</output>

<result>400</result>