A truck runs from point A to point B at 6:00 a.m. and travels an average of 45 kilometers per hour. A passenger train travels from point B to point A at 8:00 a.m. and travels an average of 15 kilometers per hour faster than the truck. Meet at 12 noon. How many miles is the distance between A and B?
一列货车早晨6时从A地开往B地，平均每小时行45千米，一列客车上午8时从B地开往A地，平均每小时比货车快15千米．中午12时两相遇．AB两地相距多少千米？
<gadget id="calculator">12 - 6</gadget>
<output>6</output>

<gadget id="calculator">6 * 45</gadget>
<output>270</output>

<gadget id="calculator">12 - 8</gadget>
<output>4</output>

<gadget id="calculator">45 + 15</gadget>
<output>60</output>

<gadget id="calculator">4 * 60</gadget>
<output>240</output>

<gadget id="calculator">270 + 240</gadget>
<output>510</output>

<result>510</result>