Valency of Al is 3 and hydroxide ion has charge -1.
So, by criss cross method, Al(OH)3 is the chemical formula of aluminium hydroxide
Valency of Ca is 2, carbonate ion i.e, (CO3)–2 has charge 2
By criss cross method , the formula is CaCO3. It won't be Ca2(CO3)2 since it has same number on both the ions so, it can be written as CaCO3
Valency of K is 1, nitrate has charge -1.
So by criss cross method, the formula of potassium nitrate is KNO3.