Teacher Wang bought 8 basketballs at 42.5 yuan each, and 8 volleyballs at 37.5 yuan each. How much did he spend in total? (answer in two ways)
王老师买了8个篮球，每个42.5元，又买了8个排球，每个37.5元，他共花了多少元？(用两种方法解答)
<gadget id="calculator">42.5 * 8</gadget>
<output>340</output>

<gadget id="calculator">37.5 * 8</gadget>
<output>300</output>

<gadget id="calculator">340 + 300</gadget>
<output>640</output>

<result>640</result>