Teacher Wang from the school’s physical education group bought 12 basketballs for 540 yuan, and he wants to buy 6 more of the same basketball. How much did he spend in total?
学校体育组的王老师买12个篮球花了540元，他还想再买6个同样的篮球，一共花了多少钱？
<gadget id="calculator">540 / 12</gadget>
<output>45</output>

<gadget id="calculator">45 * 6</gadget>
<output>270</output>

<gadget id="calculator">540 + 270</gadget>
<output>810</output>

<result>810</result>