A person goes from A to C via B. After walking for half an hour, he stops and rests for ten minutes. During the rest, he is told that the distance from A to here is exactly half of the distance from here to B. ． After resting, he quickened his pace and walked 12 kilometers. When he stopped to ask for directions, he realized that he had arrived between B and C, and the distance from C was only half of the distance to B. How many kilometers are the distance between the two places.
某人从甲地经乙地去丙地，他走了半小时后，停下来休息了十分钟，在休息时，别人告诉他：从甲地到这儿的路程正好是这儿到乙地路程的一半．休息之后，他加快步伐走了12千米，当他停下问路时，才知道自己已经到了乙、丙两地之间，且离丙地的路程只有到乙地路程的一半，则甲、丙两地相距多少千米．
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">12 / (2/3)</gadget>
<output>18</output>

<result>18</result>