Calculate internal energy change of a system if work done by the system is 8 J and heat supplied to it is 40 J .