A pen is 5.2 yuan, and a pencil case is 3.45 yuan. Xiao Ming bought 2 pens and 4 pencil cases. How much did you spend in total?
一支钢笔5.2元，一个文具盒3.45元，小明买了2枝钢笔和4个文具盒．一共用了多少元？
<gadget id="calculator">5.2 * 2</gadget>
<output>10.4</output>

<gadget id="calculator">3.45 * 4</gadget>
<output>13.8</output>

<gadget id="calculator">10.4 + 13.8</gadget>
<output>24.2</output>

<result>24.2</result>