Always remember the formula for the density of a unit cell: $\rho = \frac{Z \cdot M}{a^3 \cdot N_A}$. Pay attention to the type of unit cell (simple cubic, BCC, FCC) to correctly determine the value of $Z$. Simple cubic: $Z=1$, Body-centered cubic (BCC): $Z=2$, Face-centered cubic (FCC): $Z=4$.