It takes 8 hours for the express train to travel from A to B, and 10 hours for the slow train. The two trains leave from A and B at the same time. When they meet, the express train travels 40 kilometers longer than the slow train. How many kilometers are there between A and B? ?
从甲地到乙地快车要用8小时，慢车要用10小时，两车同时从甲、乙地相对开出，相遇时快车比慢车多行40千米，甲、乙两地相距多少千米？
<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">(1/8) + (1/10)</gadget>
<output>9/40 = around 0.225</output>

<gadget id="calculator">1 / (9/40)</gadget>
<output>40/9 = around 4.444444</output>

<gadget id="calculator">(1/8) * (40/9)</gadget>
<output>5/9 = around 0.555556</output>

<gadget id="calculator">1 - (5/9)</gadget>
<output>4/9 = around 0.444444</output>

<gadget id="calculator">(5/9) - (4/9)</gadget>
<output>1/9 = around 0.111111</output>

<gadget id="calculator">40 / (1/9)</gadget>
<output>360</output>

<result>360</result>