A passenger car and a truck depart from A and B at the same time. A travels 40.5 kilometers per hour, and B travels 30.5 kilometers per hour. After 3 hours, the distance between the two cars is 87 kilometers. How many kilometers is the distance between A and B?
客车和货车同时从甲乙两地相对开出，甲每小时行40.5千米，乙每小时行30.5千米，3小时后两车相距87千米，甲乙两地相距多少千米？
<gadget id="calculator">40.5 + 30.5</gadget>
<output>71</output>

<gadget id="calculator">71 * 3</gadget>
<output>213</output>

<gadget id="calculator">213 - 87</gadget>
<output>126</output>

<result>126</result>