The physical education teacher bought 3 volleyballs and 5 basketballs for a total of 345 yuan. Each volleyball is 40 yuan. How much is each basketball?
体育老师买了3个排球和5个篮球，共用了345元，每个排球40元，每个篮球多少？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">345 - 120</gadget>
<output>225</output>

<gadget id="calculator">225 / 5</gadget>
<output>45</output>

<result>45</result>