Two vehicles, passenger and freight, depart from A and B oppositely at the same time. After 6 hours, the ratio of the distance traveled by the passenger vehicle to the distance not traveled is 7:1, and the distance traveled by the passenger vehicle is 54 kilometers beyond the midpoint. If you travel 15 kilometers longer, how many kilometers are there between places A and B?
客、货两车同时从甲、乙两地相对开出，6小时后，客车行的路程与未行的路程比是7：1，货车超过中点54千米，已知客车比货车每小时多行15千米，甲、乙两地相距多少千米？
<gadget id="calculator">54 * 7</gadget>
<output>378</output>

<gadget id="calculator">15 * 6</gadget>
<output>90</output>

<gadget id="calculator">15 * 6 * 7</gadget>
<output>630</output>

<gadget id="calculator">54 + 378 + 90 + 630</gadget>
<output>1_152</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">(1/2) * 7</gadget>
<output>7/2 = around 3.5</output>

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

<gadget id="calculator">1_152 / 3</gadget>
<output>384</output>

<result>384</result>