Cars A and B drive out from places A and B at different speeds at the same time. They meet for the first time at a distance of 80 kilometers from place A. They return immediately after arriving at the starting point of the other party. If they meet at 50 kilometers away from place A, how many kilometers are the distance between the two places?
甲、乙两辆汽车分别以不同的速度，同时从A、B两地相对开出，第一次在离A地80千米处相遇，各自到达对方出发地后立即返回，第二次在离A地50千米处相遇，两地相距多少千米？
<gadget id="calculator">80 * 3</gadget>
<output>240</output>

<gadget id="calculator">240 + 50</gadget>
<output>290</output>

<gadget id="calculator">290 / 2</gadget>
<output>145</output>

<result>145</result>