Cadmium sulfide (CdS) has a cubic unit cell, and from

Cadmium sulfide (CdS) has a cubic unit cell, and from

Cadmium sulfide (CdS) has a cubic unit cell, and from x-ray diffraction data it is known that the cell edge length is 0.582 nm. If the measured density is 4.82 g/cm3, how many Cd2+ and S2- ions are there per unit cell?