There is one calcium atom. Let’s start there.
NO3 on its own will have 4 atoms; one nitrogen and 3 oxygens (remember, subscripts affect only the atom directly left). Since there are 2 NO3 compounds, there are 8 total atoms in the NO3s (4x2=8). Those 8 plus the calcium atom give you the 9 atoms.