as shown in the given figure the heat energy absorbed by the system is Q=55 J and the work done by the system is W=25 J.