I already answered this question but I’m not sure if it’s correct or not so I could really use some help! :)

ANSWER
A. The system did 2000 J of work on the environment
EXPLANATION
We want to identify what accounts for the missing 2000 J of energy.
According to the first law of thermodynamics, the change in the internal energy of a system is equal to the difference between the heat added to the system and the work done by the system:
[tex]\Delta U=Q-W[/tex]From the given information, we see that:
[tex]\begin{gathered} \Delta U=4000J \\ Q=6000J \end{gathered}[/tex]Solving for W:
[tex]\begin{gathered} 4000=6000-W \\ \Rightarrow W=6000-4000 \\ W=2000J \end{gathered}[/tex]Since the work done is positive, it implies that the 2000 J accounts for the work that the system did on the environment.
Thecorrect answer is option A.