9 b. MgS

two nonmetals? no
metal with more than one charge? no
metal/nonmetal? yes

name the ions as you see them; binary compound so use -ide at end of name of nonmetal

magnesium sulfide