Step-by-step explanation:
For formation of a neutral ionic compound, the charges on cation and anion must be balanced. The cation is formed by loss of electrons by metals and anions are formed by gain of electrons by non metals.
Here calcium is having an oxidation state of +2 called as Ca^{2+}Ca2+ cation and NO_3^{-}NO3− is a polyatomic anion with oxidation state of -1.. Thus they combine and their oxidation states are exchanged and written in simplest whole number ratios to give neutral Ca(NO_3)_2Ca(NO3)2