Xiaodong walks from place A to place B, and Xiaoqing walks from place B to place A at the same time. When they both reach the finish line, they return quickly. The two meet for the first time at a place 400 meters away from place A, and the second time they meet at a distance of 400 meters. B ground 150 meters. What is the distance between A and B in meters?
小冬从甲地向乙地走，小青同时从乙地向甲地走，当各自到达终点后，又迅速返回，两人第一次相遇在距甲地400米处，第二次相遇在距乙地150米．甲、乙两地的距离是多少米．
<gadget id="calculator">400 * 3</gadget>
<output>1_200</output>

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

<result>1_050</result>