Xiao Ming walks home from school, walking 50 meters per minute. Dad rides a bicycle from home to school to pick up Xiao Ming. The speed is twice that of Xiao Ming, which is more than 30 meters. Xiao Ming walked 40 meters first, and Dad started from home. Dad left Meet Xiaoming after 2 minutes, so how many meters is the distance from home to school?
小明步行从学校回家，每分钟走50米，爸爸骑车从家到学校接小明，速度是小明的2倍还多30米，小明先走了40米，爸爸才从家出发，爸爸走了2分钟后与小明相遇，那么家到学校有多少米．
<gadget id="calculator">50 * 2</gadget>
<output>100</output>

<gadget id="calculator">100 + 30 + 50</gadget>
<output>180</output>

<gadget id="calculator">180 * 2</gadget>
<output>360</output>

<gadget id="calculator">360 + 40</gadget>
<output>400</output>

<result>400</result>