The school bought 6 volleyballs and 6 basketballs. The total cost is 510 yuan. A volleyball is 40 yuan. How much is a basketball?
学校买了排球和篮球各6个，一共用去510元，一个排球40元，一个篮球多少元？
<gadget id="calculator">40 * 6</gadget>
<output>240</output>

<gadget id="calculator">510 - 240</gadget>
<output>270</output>

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

<result>45</result>