The first process is exothermic, and the heat goes from the system to its surroundings. The temperature of the surroundings rises.
The second process is endothermic, and the system absorbs heat from the surroundings. The temperature of the surroundings decreases.
In an exothermic reaction, the entropy of the surroundings increases (ΔSsurr > 0), and in an endothermic reaction, the entropy of the surroundings decreases (ΔSsurr < 0).
So, for the first process above ΔSsurr is positive, and for the second process below ΔSsurr is negative. Am I getting this right?