My mother took Xiaohua to buy cloth. With the money my mother brought, if I bought 2 meters of floral cloth, there would be 18 yuan left. If I bought the same 4 meters of floral cloth, there would be a difference of 24 yuan. How much did mom bring?
妈妈带小华去买布，妈妈带去的钱如果买2米花布，还剩18元，如果买同样的花布4米，还差24元．妈妈带了多少钱？
<gadget id="calculator">24 + 18</gadget>
<output>42</output>

<gadget id="calculator">4 - 2</gadget>
<output>2</output>

<gadget id="calculator">42 / 2</gadget>
<output>21</output>

<gadget id="calculator">21 * 2</gadget>
<output>42</output>

<gadget id="calculator">42 + 18</gadget>
<output>60</output>

<result>60</result>