From A to B, it takes 6 hours for a bus and 8 hours for a truck. Now the bus and the truck start from A and B at the same time and drive towards each other. When they meet, the bus travels 42 kilometers longer than the truck. How many kilometers are there between A and B?
从甲地到乙地，客车走完全程要6小时，货车走完全程要8小时．现在客车和货车分别从甲乙两地同时出发相向而行，相遇时客车比货车多行42千米．甲乙两地相距多少千米？
<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

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

<gadget id="calculator">(1/6) - (1/8)</gadget>
<output>1/24 = around 0.041667</output>

<gadget id="calculator">(1/6) + (1/8)</gadget>
<output>7/24 = around 0.291667</output>

<gadget id="calculator">1 / (7/24)</gadget>
<output>24/7 = around 3.428571</output>

<gadget id="calculator">(1/24) * (24/7)</gadget>
<output>1/7 = around 0.142857</output>

<gadget id="calculator">42 / (1/7)</gadget>
<output>294</output>

<result>294</result>