Cars A and B set off from cities A and B, which are 2,400 kilometers apart, at the same time and drive towards each other. It is known that it takes 40 hours for car A to reach city B, and 60 hours for car B to reach city A. Question: The two cars depart at the same time How long did it take to meet?
甲、乙两车分别从相距2400千米的A、B两城同时出发，相向而行，已知甲车到达B城需40小时，乙车到达A城需60小时，问：两车同时出发后多少时间相遇？
<gadget id="calculator">1 / 40</gadget>
<output>1/40 = around 0.025</output>

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

<gadget id="calculator">(1/40) + (1/60)</gadget>
<output>1/24 = around 0.041667</output>

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

<result>24</result>