The charging standard for residential water in Yancheng City is as follows: each household’s monthly water consumption does not exceed 10 tons, and the fee is 2 yuan per ton; if the water consumption exceeds 10 tons, the excess part is charged 3 yuan per ton. Mingming’s family used 18 tons of water this month. How much should their family pay?
盐城市居民用水的收费标准如下：每户每月用水量不超过10吨，每吨收费2元；超过10吨，超出部分每吨收费3元．明明家这个月一共用了18吨的水，他们家应该付多少元钱？
<gadget id="calculator">10 * 2</gadget>
<output>20</output>

<gadget id="calculator">18 - 10</gadget>
<output>8</output>

<gadget id="calculator">8 * 3</gadget>
<output>24</output>

<gadget id="calculator">20 + 24</gadget>
<output>44</output>

<result>44</result>