Actually the bigger
molecules like oxygen occupy the lattice points.In ccp unit
cell the effective number of atoms occupying lattice points is
=8(18)+6(12)=4 and in ccp the number of tetrahedral voids is 8
so divalents ions will be 88and number of octahedral voids are 4 so.one half would be 2 finally,XY2O4.