A compound has cubic close packing (ccp) arrangement of X. Its unit cell structure is shown below. The empirical formula of the compound is

8 X atoms present at the corners.
Atoms contribute to 1 unit cell
6 X atoms present at the face centres.
Atoms contribute to 1 unit cell
Total X atoms
4 M atoms present at edge centres.
Atoms present in 1 unit cell
1 M atom present at body centre and it contribute completely to 1 unit cell.
Thus, total M atoms in one unit cell
Ratio is
Thus, empirical formula is .
Tagged Voids, radius ratio and structures of ionic solids. Machine-assigned, so read it as a strong shortlist rather than a verdict.