what is the second law states?
The  total entropy of an isolated system can never decrease over time, and is constant if and only if all processes are reversible.
Second law of thermodynamics
The second law of thermodynamics states that the total entropy of an isolated system can never decrease over time, and is constant if and only if all processes are reversible. Isolated systems spontaneously evolve towards thermodynamic equilibrium, the state with maximum entropy. 

is humpty dumpty an egg or a potato Egg what is this story or rhyme? Humpty Dumpty is a character in an English nursery rhyme, probably originally a riddle when was this nursery rhyme first published? 1797 how is this related to science? To demonstrate the second law of thermodynamics where the higher the entropy, the higher the disorder. After his fall and subsequent shattering, the inability to put him together again is representative of this principle
wiki:18819974
Second law of thermodynamics [SEP] Introduction
In a fictive reversible process, an infinitesimal increment in the entropy () of a system is defined to result from an infinitesimal transfer of heat () to a closed system (which allows the entry or exit of energy – but not transfer of matter) divided by the common temperature () of the system in equilibrium and the surroundings which supply the heat: Different notations are used for infinitesimal amounts of heat () and infinitesimal amounts of entropy () because entropy is a function of state, while heat, like work, is not. For an actually possible infinitesimal process without exchange of mass with the surroundings, the second law requires that the increment in system entropy fulfills the inequality