The ratio of the walking speed of A and B is 5:3. The two start from A and B at the same time. If they walk towards each other, they will meet after 1 hour. If they start from A and B respectively in the same direction , How many hours does it take for A to catch up with B?
甲、乙两人的步行速度之比是5：3，两人分别从A、B两地同时出发，如果相向而行，1小时后相遇；如果分别从A、B两地同时同向而行，甲需要多少小时才能追上乙．
<gadget id="calculator">5 + 3</gadget>
<output>8</output>

<gadget id="calculator">5 - 3</gadget>
<output>2</output>

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

<gadget id="calculator">8 * (1/2)</gadget>
<output>4</output>

<result>4</result>