Write a chemical equation that shows the release of hydroxide ions as each of these bases dissolves in water.
a. koh(s), potassium hydroxide
b. ba(oh)2(s), barium hydroxide