The billing method of a taxi in a certain city is: 6 yuan within 3 kilometers, and 2 yuan per kilometer thereafter. Uncle Wang took a total of 5 kilometers, how much should he pay?
某市出租车计费办法是：3千米以内6元，以后每千米2元，王大伯共坐了5千米，应付多少钱？
<gadget id="calculator">5 - 3</gadget>
<output>2</output>

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

<gadget id="calculator">4 + 6</gadget>
<output>10</output>

<result>10</result>