How Gibbs energy, a measure of energy difference between the reactants vs products, influences solubility.