A train and a slow train depart from places A and B respectively at the same time. The fast train travels 75 kilometers per hour, and the slow train travels 65 kilometers per hour. When they meet, the fast train travels 40 kilometers longer than the slow train. How many kilometers are the distance between A and B?
一列火车和一列慢车，同时分别从甲乙两地相对开出．快车每小时行75千米，慢车每小时行65千米，相遇时快车比慢车多行了40千米，甲乙两地相距多少千米？
<gadget id="calculator">75 + 65</gadget>
<output>140</output>

<gadget id="calculator">75 - 65</gadget>
<output>10</output>

<gadget id="calculator">40 / 10</gadget>
<output>4</output>

<gadget id="calculator">140 * 4</gadget>
<output>560</output>

<result>560</result>