This is an example of a neutralization (double decomposition) reaction between a base and an acid which usually produces a salt and water.
It is graphically represented as:
It is called binary because only two elements make it up, a metal as the positive ion and the nonmetal as the negative ion.
Ternary salts are made up of a metal with a radical (a group of elements exhibiting an electrical charge) , e.g.,
Water is formed from the positive ion of the acid and the negative
Therefore, to form the salt, just exchange the electrical charges of the metal and the radical: