Predicting the products of double replacement reactions and adding states of matter using a solubility table.