Use the first law of thermodynamics to determine the amount of heat change, Q, and whther it was added to or removd from the system.

W=225J
Delta U=600J
Q=?

Was W performed upon or extracted from the system?

Usually in thermodynamics, W is the work OUT.

Qin - Wout = deltaU