Given,
The net-work done on the system is
[tex]\Delta w=56\text{ J}[/tex]The increase in its internal energy is
[tex]\Delta U=12\text{ J}[/tex]By the first law of thermodynamics.
[tex]Q=\Delta U-\Delta w[/tex]Put the given values,
[tex]\begin{gathered} Q=12J-56\text{ J} \\ Q=-44\text{ J} \end{gathered}[/tex]Thus, the amount of net heat is -44 J.