A classmate in an elementary school spent 40.5 yuan to repair tables and chairs, and it cost 3.7 yuan less to bind books than to repair tables and chairs. How much did it cost to repair tables and chairs and bind books?
某小学的同学修理桌椅用了40.5元，装订图书比修理桌椅少用了3.7元．修理桌椅和装订图书一共用了多少元？
<gadget id="calculator">40.5 - 3.7</gadget>
<output>36.8</output>

<gadget id="calculator">36.8 + 40.5</gadget>
<output>77.3</output>

<result>77.3</result>