Cars A and B start from A and B at the same time and drive toward each other. The two cars meet at a distance of 30 kilometers from the midpoint. It is known that the journey of A and B takes 10 hours and B takes 15 hours to complete the journey. Find A and B How many kilometers are the distance between the two places?
甲乙两车分别从A、B两地同时出发相向而行，两车在距中点30千米处相遇，已知甲行完全程要10小时，乙行完全程要15小时，求A、B两地相距多少千米？
<gadget id="calculator">30 * 2</gadget>
<output>60</output>

<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">1 / 15</gadget>
<output>1/15 = around 0.066667</output>

<gadget id="calculator">(1/10) + (1/15)</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">1 / (1/6)</gadget>
<output>6</output>

<gadget id="calculator">(1/10) * 6</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">(1/15) * 6</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">(3/5) - (2/5)</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">60 / (1/5)</gadget>
<output>300</output>

<result>300</result>