It is known that the speed of A is 1.4 times that of B. Person A and Person B depart from places A and B at the same time. If they are going in the same direction, they will meet after 0.5 hours; if they are going in the same direction, how many hours will it take for A to catch up with B?
已知甲的速度是乙的1.4倍．甲乙两人分别由A，B两地同时出发．如果相向而行，0.5小时后相遇；如果他们同向而行，那么甲追上乙需要多少小时？
<gadget id="calculator">7 + 5</gadget>
<output>12</output>

<gadget id="calculator">12 * 0.5</gadget>
<output>6</output>

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

<gadget id="calculator">6 / 2</gadget>
<output>3</output>

<result>3</result>