It takes 10 hours for a passenger car to go from A to B, and 15 hours for a truck to travel from B to A at the same time. After 8 hours, the distance between the two cars is 300 kilometers. Find the distance between A and B.
客车从甲到乙用10小时，货车同时从乙到甲用15小时，两车行8小时后，相距300千米，求甲乙两地的路程．
<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">(1/10) * 8</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">1 / 15</gadget>
<output>1/15 = around 0.066667</output>

<gadget id="calculator">(1/15) * 8</gadget>
<output>8/15 = around 0.533333</output>

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

<gadget id="calculator">(4/5) + (-7/15)</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">300 / (1/3)</gadget>
<output>900</output>

<result>900</result>