Answer:
B
Step-by-step explanation:
The wording of this question leaves a lot to be desired. The way it reads, it should be 60J., but I'm almost certain that is not the intended answer.
The answer looks like it should be 100J of some kind. It's worded in such a way that it does 80 J of work on the surroundings and in addition, releases another 20 joules in the form of heat. It doing this, the system should be losing 100 Joules so the answer should be B.
There are no guarantees here. That is just my best proposal.