Understanding Solubility Curves in Chemistry