Xiao Gang left home to go to school at a speed of 50 meters per minute. After walking for 2 minutes, he found that he would be 8 minutes late if he kept walking like this; so he changed to a speed of 60 meters per minute and arrived at school 5 minutes earlier. Ask how many meters is the distance from Xiaogang's home to the school.
小刚以每分钟50米的速度离家上学，走了2分钟后，他发现这样走下去就要迟到8分钟；于是改为每分钟60米的速度前进，结果提早5分钟到校．问小刚家到学校的路程多少米．
<gadget id="calculator">50 * 8</gadget>
<output>400</output>

<gadget id="calculator">60 - 50</gadget>
<output>10</output>

<gadget id="calculator">10 * 2</gadget>
<output>20</output>

<gadget id="calculator">60 * 5</gadget>
<output>300</output>

<gadget id="calculator">20 + 300</gadget>
<output>320</output>

<gadget id="calculator">400 + 320</gadget>
<output>720</output>

<gadget id="calculator">720 / 10</gadget>
<output>72</output>

<gadget id="calculator">72 + 8</gadget>
<output>80</output>

<gadget id="calculator">50 * 80</gadget>
<output>4_000</output>

<result>4_000</result>