Content protected from screenshots
Question

What determines the spontaneity of a reaction when considering both system and surroundings?