(b)
Since atom $X$ is present at corner and one corner is shared by eight unit cells,
Number of X atoms per unit cell $= \frac{1}{8} \times 8 = 1$
Atom $Y$ is present at body centred position and used by only one unit cell. So, number of Y atoms per unit cell = 1
Atom Z is present at the center of each face, so shared by two unit cells,
Thus, number of Z atoms per unit cell $= \frac{1}{2} \times 6 = 3$
Hence, the formula of compound $= XYZ_{3}$