Mr. Wang spent 40 yuan to buy a volleyball, which is three times as much as a volleyball. How much did Mr. Wang spend buying the ball?
王老师买排球用了40元，买篮球用的钱数是排球的3倍．王老师买球一共用了多少元？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">120 + 40</gadget>
<output>160</output>

<result>160</result>