Xiao Ming ran a lap on the 360-meter-long circular runway. It is known that he ran 5 meters per second for the first half of the time, and 4 meters per second for the second half of the time. How long did it take him for the second half of the distance?
小明在360米长的环行的跑道上跑了一圈，已知他前一半时间每秒跑5米，后一半时间每秒跑4米，问他后一半路程用了多少时间？
<gadget id="calculator">4 + 5</gadget>
<output>9</output>

<gadget id="calculator">9 / 2</gadget>
<output>9/2 = around 4.5</output>

<gadget id="calculator">360 / (9/2) / 2</gadget>
<output>40</output>

<gadget id="calculator">360 / 2</gadget>
<output>180</output>

<gadget id="calculator">4 * 40</gadget>
<output>160</output>

<gadget id="calculator">180 - 160</gadget>
<output>20</output>

<gadget id="calculator">20 / 5</gadget>
<output>4</output>

<gadget id="calculator">40 + 4</gadget>
<output>44</output>

<result>44</result>