Two cars, A and B, leave from A and B respectively. Car A travels 88 kilometers per hour, and car B travels 78 kilometers per hour. When they meet, they are 40 kilometers away from the midpoint of A and B. How many kilometers are there in total between A and B?
甲，乙两车分别从A，B两地相对开出，甲车每小时行88千米，乙车每小时行78千米．相遇时，距A，B两地的中点有40千米，A，B两地一共相距多少千米？
<gadget id="calculator">88 - 78</gadget>
<output>10</output>

<gadget id="calculator">2 / 10</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">88 + 78</gadget>
<output>166</output>

<gadget id="calculator">40 * (1/5) * 166</gadget>
<output>1_328</output>

<result>1_328</result>