On Sunday, Xiao Ming and his mother take a taxi to grandma’s house. The taxi fare is 8 yuan within 3 kilometers, 1.5 yuan per kilometer beyond 3 kilometers, and 9 kilometers to grandma’s house. How much should I pay when I get off the bus?
星期天，小明和妈妈乘出租车去姥姥家，出租车收费是3千米以内8元，超过3千米每千米1.5元，到姥姥家是9千米，则下车时应付费多少元？
<gadget id="calculator">9 - 3</gadget>
<output>6</output>

<gadget id="calculator">1.5 * 6</gadget>
<output>9</output>

<gadget id="calculator">9 + 8</gadget>
<output>17</output>

<result>17</result>