Two cars drove opposite each other from two places at the same time and met after 5 hours. It is known that car A travels 50 kilometers per hour, and car B travels 58 kilometers per hour, how many kilometers are there between the two places?
两辆汽车同时从两地相对开出，经过5小时相遇．已知甲车每小时行50千米，乙车每小时行58千米，求两地相距多少千米？
<gadget id="calculator">50 + 58</gadget>
<output>108</output>

<gadget id="calculator">108 * 5</gadget>
<output>540</output>

<result>540</result>