Two trains, A and B, depart from A and B at the same time. It takes 10 hours for train A and 15 hours for train B to complete the journey. When they met, car A traveled 180 kilometers longer than car B. Find the distance between A and B in kilometers?
甲、乙两列火车同时从A、B两地相对开出，行完全程甲车要10小时，乙车要15小时．相遇时甲车比乙车多行180千米．求A、B两地相距多少千米？
<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) - (1/15)</gadget>
<output>1/30 = around 0.033333</output>

<gadget id="calculator">6 * (1/30)</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">180 / (1/5)</gadget>
<output>900</output>

<result>900</result>