Two cars drive out from city A and city B respectively. Car A travels 42 kilometers per hour, and car B travels 58 kilometers per hour. They meet each other after 5 hours. What is the distance in kilometers between cities A and B?
两辆汽车分别A城和B城相对开出，甲车每小时行42千米，乙车每小时行58千米，5小时后相遇．A、B两城的距离是多少千米？
<gadget id="calculator">42 + 58</gadget>
<output>100</output>

<gadget id="calculator">100 * 5</gadget>
<output>500</output>

<result>500</result>