and B set off at the same time from town A to town B. A rides an electric bicycle for 24 kilometers per hour, and B rides a bicycle for 14 kilometers per hour. After 30 minutes of departure, A finds that he has forgotten his ID card, so he returns to A. Town, due to a delay of half an hour to get the ID card, and then set off from town A, as a result, both A and B arrived at town B at the same time, find the distance between towns A and B.
甲、乙两人同时出发从A镇到B镇，甲骑电动自行车每小时行24千米，乙骑自行车每小时行14千米，甲出发30分钟后发现忘带身份证了，于是返回A镇，因取身份证耽搁了半个小时，再从A镇出发，结果甲乙两人同时到达B镇，求A、B两镇之间的距离．
<gadget id="calculator">0.5 * 2 * 24</gadget>
<output>24</output>

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

<gadget id="calculator">24 + 12</gadget>
<output>36</output>

<gadget id="calculator">24 - 14</gadget>
<output>10</output>

<gadget id="calculator">36 / 10</gadget>
<output>18/5 = around 3.6</output>

<gadget id="calculator">14 * (18/5)</gadget>
<output>252/5 = around 50.4</output>

<result>252/5 = around 50.4</result>