Two pieces of rope of the same length, the first piece uses 12 meters, the second piece uses 18 meters, the remaining length of the first piece is 1.5 times the remaining length of the second piece, how many meters are the original lengths of the two pieces of rope?
两段同样长的绳子，第一段用去12米，第二段用去18米，第一段剩下的长度是第二段剩下长度的1.5倍，两段绳子原来各长多少米？
<gadget id="calculator">1.5 * 18</gadget>
<output>27</output>

<gadget id="calculator">27 - 12</gadget>
<output>15</output>

<gadget id="calculator">1.5 - 1</gadget>
<output>0.5</output>

<gadget id="calculator">15 / 0.5</gadget>
<output>30</output>

<result>30</result>