Two trains, A and B, depart from cities A and B in opposite directions at the same time. When the two trains meet, they continue to move forward. When train A travels (2/3) of the entire distance, train B travels exactly (4/3) of the entire distance. 5). At this time, the distance between the two cars was 357 kilometers. How many kilometers are there between A and B?
甲、乙两列火车分别从A、B两城同时相向开出，当两车相遇后又继续前进，甲车行了全程的(2/3)时，乙车恰好行了全程的(4/5)．这时，两车相距357千米．A、B两城相距多少千米？
<gadget id="calculator">4 / 5</gadget>
<output>4/5 = around 0.8</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">(4/5) - (1/3)</gadget>
<output>7/15 = around 0.466667</output>

<gadget id="calculator">357 / (7/15)</gadget>
<output>765</output>

<result>765</result>