From A to B, the fast and slow cars take 12 hours and 15 hours respectively. If two cars are traveling towards each other from two places at the same time, and after 8 hours, the two cars cross and pass by and the distance is 240 kilometers. How many kilometers is the distance between A and B?
从甲地去乙地，快慢两车分别要用12小时和15小时．如果两车分别从两地同时相向而行，8小时后两车交叉而过又相距240千米，甲乙两地相距多少千米？
<gadget id="calculator">1 / 12</gadget>
<output>1/12 = around 0.083333</output>

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

<gadget id="calculator">(1/12) + (1/15)</gadget>
<output>3/20 = around 0.15</output>

<gadget id="calculator">1 / (3/20)</gadget>
<output>20/3 = around 6.666667</output>

<gadget id="calculator">8 - (20/3)</gadget>
<output>4/3 = around 1.333333</output>

<gadget id="calculator">240 / (4/3)</gadget>
<output>180</output>

<gadget id="calculator">180 * (20/3)</gadget>
<output>1_200</output>

<result>1_200</result>