To build a road, half of the total length was repaired on the first day and 40 meters less than half of the total length was repaired, and the remaining half was repaired by 40 meters on the second day, leaving 60 meters left. How long is the total length of this road?
修一条公路，第一天修了全长的一半少40米，第二天修了余下的一半多40米，还剩下60米，这条公路全长多少米？
<gadget id="calculator">40 + 60</gadget>
<output>100</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">100 / (1/2)</gadget>
<output>200</output>

<gadget id="calculator">200 - 40</gadget>
<output>160</output>

<gadget id="calculator">160 / (1/2)</gadget>
<output>320</output>

<result>320</result>