Boat A travels 24 kilometers per hour, and boat B travels 16 kilometers per hour. The two boats set off at the same time with their backs facing each other. After 2 hours, boat A turns around to catch up with boat B. How long will it take to catch up with boat B?
甲船每小时行24千米，乙船每小时行16千米，两船同时同地背向出发，2小时后，甲船因事转头追赶乙船，几时才能追上乙船？
<gadget id="calculator">24 + 16</gadget>
<output>40</output>

<gadget id="calculator">24 - 16</gadget>
<output>8</output>

<gadget id="calculator">2 / 8</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">40 * (1/4)</gadget>
<output>10</output>

<result>10</result>