Two vehicles, A and B, leave the factory at the same time to deliver goods to city A, and return immediately after arriving in city A, regardless of the unloading time, the return speed of the two vehicles is twice that of their respective deliveries. When vehicle A arrives in city A, vehicle B is 20 kilometers away from city A M, when car A returns to the factory, car B has traveled (2/3) the distance, how many kilometers is the distance between the factory and city A?
甲乙两车同时从工厂出发送货到A市，到达A市立即返回，卸货时间不计，两车返回速度都是各自送货的2倍，甲车到达A市时，乙车距A市20千米，甲车返回到工厂时，乙车返回行了(2/3)的路程，求工厂距A市几千米？
<gadget id="calculator">20 * 2</gadget>
<output>40</output>

<gadget id="calculator">40 + 40</gadget>
<output>80</output>

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

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

<gadget id="calculator">80 / (1/3)</gadget>
<output>240</output>

<result>240</result>