Answer:
According to the classical sign convention, heat transfer to a system and work done by a system are positive; heat transfer from a system and work done on a system are negative. The system shown below has heat supplied to it and work done by it.