A and B walk from point A to point B at a constant speed at the same time. When A walks (1/4) of the whole distance, B walks 240 meters. When A has walked the whole distance, B has walked the whole distance (2/3). What is the distance between A and B?
甲、乙两人同时从A地匀速走往B地，当甲走了全程的(1/4)时，乙走了240米．当甲走完全程时，乙走了全程的(2/3)．A、B两地相距多少米？
<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">1 / (2/3)</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">1 / (3/2)</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">(1/4) * (2/3)</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">240 / (1/6)</gadget>
<output>1_440</output>

<result>1_440</result>