Cars A and B are traveling towards each other from cities A and B at the same time. The speed ratio between cars A and B is 7:8. The two cars meet at a distance of 9 kilometers from the midpoint of the distance between cities A and B. A and B How many kilometers are the distance between the two places.
甲、乙两车同时从A、B两城相向而行，甲车与乙车的速度比是7﹕8，两车在距A、B两城路程中点9千米处相遇，A、B两地相距多少千米．
<gadget id="calculator">7 / 8</gadget>
<output>7/8 = around 0.875</output>

<gadget id="calculator">1 - (7/8)</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">2 / (1/8)</gadget>
<output>16</output>

<gadget id="calculator">9 * 16</gadget>
<output>144</output>

<gadget id="calculator">144 * (7/8)</gadget>
<output>126</output>

<gadget id="calculator">144 + 126</gadget>
<output>270</output>

<result>270</result>