Comparison of solubility between Substance A and Substance B