Cars A and B drive oppositely from two places at the same time. When they meet, car A passes 30 kilometers past the midpoint of the two places. At this time, the ratio of the distance traveled by car A and car B is 5:3. How many kilometers are the distance between the two places? ?
甲、乙两车同时从两地相对开出，相遇时甲车超过两地中点30千米，这时甲车和乙车所行路程的比是5：3，两地路程是多少千米？
<gadget id="calculator">5 + 3</gadget>
<output>8</output>

<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">3 / 8</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">(5/8) - (3/8)</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">2 / (1/4)</gadget>
<output>8</output>

<gadget id="calculator">30 * 8</gadget>
<output>240</output>

<result>240</result>