The school bought a batch of sports equipment, bought 3 volleyballs, 40 yuan each, and 2 basketballs, 60 yuan each, how much did they spend in total?
学校购进一批体育器材，买了3个排球，每个40元，又买了2个篮球，每个60元，一共用了多少元？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">60 * 2</gadget>
<output>120</output>

<gadget id="calculator">120 + 120</gadget>
<output>240</output>

<result>240</result>