Ships A and B sail towards each other from ports A and B at the same time, and the speed of ship B is (2/3) that of ship A. After the two shipyards meet, they continue to sail. Ship A returns immediately after arriving at port B, and ship B After arriving at Port A, leave immediately and return. It is known that the second meeting place of the two ships is 40 kilometers away from the first meeting place, so how many kilometers are the distance between the two ports of A and B?
甲、乙两艘船分别从A、B两港口同时相向而行，乙船的速度是甲船的(2/3)，两船厂相遇后继续航行，甲船到B港后立即返回，乙船到A港后出立即返回．已知两船第二次相遇地点距第一次相遇的地点是40千米，那么A、B两港口相距多少千米？
<gadget id="calculator">3 + 2</gadget>
<output>5</output>

<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">(2/5) * 3</gadget>
<output>6/5 = around 1.2</output>

<gadget id="calculator">(6/5) - 1</gadget>
<output>1/5 = around 0.2</output>

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

<gadget id="calculator">40 / (2/5)</gadget>
<output>100</output>

<result>100</result>