J.R. S. answered 05/30/19
Ph.D. University Professor with 10+ years Tutoring Experience
This is NOT a mixture of elements, as stated in the question, because aluminum sulfide (Al2S3) is a compound, not an element, and nitrogen gas (N2) is also not an element, but rather is a molecule. Having said that....
moles Al2S3 = 54.0 g x 150 g/mole = 0.360 moles
moles gallium = 6.022x1024 atoms x 1 mole/6.022x1023 atoms = 10.0 moles
moles N2 gas @ STP = 74.2 ml x 1 L/1000 ml x 1 mole/22.4 L = 0.00331 moles
Add them up to find total moles.
Total moles of atoms, molecules and compounds present = 10.4 moles