If Xiaojun walks 50 meters per minute from home to school, he will be late for class by 3 minutes; if he walks 60 meters per minute, he can arrive at school 2 minutes earlier than the class time. How many meters is the distance from Xiaojun's house to the school?
小军从家到学校，如果每分钟走50米，上课就要迟到3分钟；如果每分钟走60米，就可以比上课时间提前2分钟到校．小军家到学校的路程是多少米？
<gadget id="calculator">50 * 3</gadget>
<output>150</output>

<gadget id="calculator">60 * 2</gadget>
<output>120</output>

<gadget id="calculator">150 + 120</gadget>
<output>270</output>

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

<gadget id="calculator">270 / 10</gadget>
<output>27</output>

<gadget id="calculator">27 + 3</gadget>
<output>30</output>

<gadget id="calculator">50 * 30</gadget>
<output>1_500</output>

<result>1_500</result>