A nonmetal oxide dissolves in water to give an acid. Show this for gaseous carbon dioxide by writing a balanced chemical equation. (b) A metal oxide dissolves in water to give a base. Show this for solid potassium oxide by writing a balanced chemical reaction.