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">9 * 2</gadget>
<output>18</output>

<gadget id="calculator">8 - 7</gadget>
<output>1</output>

<gadget id="calculator">18 / 1</gadget>
<output>18</output>

<gadget id="calculator">8 + 7</gadget>
<output>15</output>

<gadget id="calculator">18 * 15</gadget>
<output>270</output>

<result>270</result>