The question is incomplete, here is the complete question:
If we added 10 J of heat (Q) to the system, and we knew this resulted in an increase of internal energy (U) of +15 J, what would the change in work have to be in order for the equation to balance.
Answer: The work done for compression is +5 J
Explanation:
According to first law of thermodynamics:
[tex]dU=q+W[/tex]
where,
q = heat released or absorbed = +10 J
When heat is added, it is getting absorbed and sign will be positive and when heat is removed, it is getting released and sign will be negative
dU = internal energy = +15 J
W = work done
Putting values in above equation, we get:
[tex]15=10+W\\\\W=+5J[/tex]
Sign convention of work:
Work done for expansion process is taken as negative and work done for compression is taken as positive.
Hence, the work done for compression is +5 J