Two cars, A and B, leave opposite stations A and B at the same time. They meet for the first time at 90 kilometers away from station A. After the meeting, the two cars continue to drive at the original speed, and return immediately after arriving at the starting point of the other party. They meet at a distance of 50 kilometers from A, find the distance between A and B.
甲、乙两辆汽车同时从AB两站相对开出，第一次在离A站90千米处相遇，相遇后两车继续以原速度行驶，到达对方的出发地后立即返回，第二次相遇在离A地50千米处，求AB两地之间的路程．
<gadget id="calculator">90 * 3</gadget>
<output>270</output>

<gadget id="calculator">270 + 50</gadget>
<output>320</output>

<gadget id="calculator">320 / 2</gadget>
<output>160</output>

<result>160</result>