Both A and B are running on a circular track at a constant speed, walking towards each other, and meet once every 24 seconds. It is known that A completes a lap in 40 seconds; if they are walking in the same direction, how many seconds will they meet each other? once.
甲乙二人都以不变的速度在环形跑道上跑步，相向而行，每隔24秒相遇一次，已知甲跑完一圈用40秒；如果他们同向而行，每隔多少秒钟相遇一次．
<gadget id="calculator">1 / 40</gadget>
<output>1/40 = around 0.025</output>

<gadget id="calculator">24 / 40</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">1 - (3/5)</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">24 / (2/5)</gadget>
<output>60</output>

<gadget id="calculator">1 / 60</gadget>
<output>1/60 = around 0.016667</output>

<gadget id="calculator">(1/40) - (1/60)</gadget>
<output>1/120 = around 0.008333</output>

<gadget id="calculator">1 / (1/120)</gadget>
<output>120</output>

<result>120</result>