A compound is formed by two elements
and
. The element
forms a cubic close-packed (CCP) arrangement, and element
occupies one third of the tetrahedral voids. In a CCP structure, there are 4 atoms of
in a unit cell. This means there are 8 tetrahedral voids in the CCP structure. Since
occupies one third of the tetrahedral voids, there are
atoms of
in the formula unit. The ratio of
to
in the formula unit is
. Multiplying both parts of the ratio by 3, we get
. So, the formula of the compound is