Two cars, A and B, leave at the same time from stations A and B, which are 630 kilometers apart. Car A travels 40 kilometers per hour, and car B travels 50 kilometers per hour. How much did the two cars travel in total 2 hours before they met? km.
甲、乙两车同时从相距630千米的A、B两站相对开出，甲车每小时行驶40千米，乙车每小时行驶50千米，相遇前2小时，两车一共行了多少千米．
<gadget id="calculator">40 + 50</gadget>
<output>90</output>

<gadget id="calculator">630 / 90</gadget>
<output>7</output>

<gadget id="calculator">7 - 2</gadget>
<output>5</output>

<gadget id="calculator">5 * 90</gadget>
<output>450</output>

<result>450</result>