student walked from home to school at a speed of 50 meters per minute for 2 minutes. If he kept walking like this, he would be 8 minutes late for class; then he switched to a speed of 60 meters per minute and arrived 5 minutes early , What is the distance from the student's home to the school?
一个学生从家到学校，先用每分钟50米的速度走了2分钟，如果这样走下去，他上课就要迟到8分钟；后来他改用每分钟60米的速度前进，结果早到了5分钟，求这个学生从家到学校的距离是多少？
<gadget id="calculator">50 * 8</gadget>
<output>400</output>

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

<gadget id="calculator">400 + 300</gadget>
<output>700</output>

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

<gadget id="calculator">700 / 10</gadget>
<output>70</output>

<gadget id="calculator">50 * 70</gadget>
<output>3_500</output>

<gadget id="calculator">50 * 2</gadget>
<output>100</output>

<gadget id="calculator">3_500 + 400 + 100</gadget>
<output>4_000</output>

<result>4_000</result>