Cars A and B start from places A and B at the same time and drive toward each other. They meet at a distance of 40 kilometers from place A. After the meeting, the two cars continue to move forward at the same speed. When they arrive at places B and A respectively , return immediately, and meet again at a distance of 28 kilometers from A. How many kilometers are there between A and B?
甲、乙两车分别从A、B两地同时出发，相向而行，在距A地40千米处相遇，相遇后两车又继续按原速前进，当它们分别到达B地、A地后，立即返回，又在距A地28千米处相遇，A、B两地相距多少千米？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">120 + 28</gadget>
<output>148</output>

<gadget id="calculator">148 / 2</gadget>
<output>74</output>

<result>74</result>