Two trucks delivered trees to the town. The first truck drove from the village to the town at a speed of 30 kilometers per hour, and the second truck drove 12 minutes late and drove from the village to the town at a speed of 40 kilometers per hour. As a result, the two arrived at the same time. How far is it from the village to the town?
两辆卡车为镇上送树木，第一辆以每小时30千米的速度由村上开往镇上，第二辆晚开12分钟，以每小时40千米的速度由村上开往镇上，结果两人同时到达，村上到镇上有多远？
<gadget id="calculator">40 - 30</gadget>
<output>10</output>

<gadget id="calculator">0.2 / 10</gadget>
<output>0.02</output>

<gadget id="calculator">30 * 0.02</gadget>
<output>0.6</output>

<gadget id="calculator">0.6 * 40</gadget>
<output>24</output>

<result>24</result>