Step 1: Understanding the Concept
In a hexagonal close packed lattice, for every atom of Y there are two tetrahedral voids.
Step 2: Count Voids
Take \(N\) atoms of Y: tetrahedral voids \(=2N\).
Step 3: Atoms of X
X occupies one third of the voids: \(\dfrac13\times2N=\dfrac{2N}{3}\).
Step 4: Ratio
\(\text{X}:\text{Y}=\dfrac{2N}{3}:N=2:3\), so the formula is \(\text{X}_2\text{Y}_3\).
Final Answer:
The formula of the compound is X2Y3.
\[ \boxed{\text{(A) }\mathrm{X}_{2}\mathrm{Y}_{3}} \]