Class 1 bought 5 basketballs and 4 footballs; Class 2 bought 3 basketballs and 2 footballs; Class 3 bought 3 basketballs and 4 footballs. The first class spent 69 yuan more than the second class, and the second class spent 29 yuan less than the third class. How much did Class 2 spend on basketball and football?
一班买了5个篮球，4个足球；二班买了3个篮球，2个足球；三班买了3个篮球，4个足球．一班比二班多用了69元，二班比三班少用29元．则二班买篮球和足球用了多少元．
<gadget id="calculator">69 - 29</gadget>
<output>40</output>

<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">40 / 2</gadget>
<output>20</output>

<gadget id="calculator">20 * 3</gadget>
<output>60</output>

<gadget id="calculator">4 - 2</gadget>
<output>2</output>

<gadget id="calculator">29 / 2</gadget>
<output>29/2 = around 14.5</output>

<gadget id="calculator">(29/2) * 2</gadget>
<output>29</output>

<gadget id="calculator">60 + 29</gadget>
<output>89</output>

<result>89</result>