On Sunday, Xiaogang went from place A to place B. He walked 50 meters per minute. After walking for 8 minutes, there was still a gap of 120 meters, which was half of the distance between places A and B. How many meters were there between places A and B?
星期天，小刚从甲地去乙地，他每分钟走50米，走了8分钟后，还差120米刚好是甲乙两地路程的一半，甲、乙两地相距多少米？
<gadget id="calculator">50 * 8</gadget>
<output>400</output>

<gadget id="calculator">400 + 120</gadget>
<output>520</output>

<gadget id="calculator">520 * 2</gadget>
<output>1_040</output>

<result>1_040</result>