When 110 J of heat is added to a gaseous system, internal energy increases by 40 J, the amount of work done is:
150 J
70 J
110 J
40 J
dQ = du + dw
dw = dQ - du= 110-40=70 joule.