A and B are walking toward each other from A and B respectively. When they meet, they are 350 meters away from A. They continue to move forward and return immediately after arriving at B and A. The second meeting is 150 meters away from A. What is the distance between A and B in meters?
甲、乙两人分别从A、B两地相向而行，相遇时离A地350米，两人又继续前进，到达B、A两地后立即返回，第二次相遇离A地150米，求AB两地距离是多少米？
<gadget id="calculator">350 * 3</gadget>
<output>1_050</output>

<gadget id="calculator">1_050 + 150</gadget>
<output>1_200</output>

<gadget id="calculator">1_200 / 2</gadget>
<output>600</output>

<result>600</result>