1.ENTROPY ANDTHE SECOND LAW OF THERMODYNAMICSThe system consists of thered circles in the blue box.EnergyReservoirEnergy and entropyflow out of the system. Additional Energy…