Final answer:
The general formulas for the compounds formed between an alkali metal and sulfur, an alkaline earth metal and nitrogen, and aluminum and a halogen are M2S, M3N2, and AlX3 respectively, where M represents the metal and X represents the halogen.
Step-by-step explanation:
When metals react with nonmetals, the result is generally an ionic compound. For an alkali metal reacting with sulfur, the alkali metals (Group 1) typically form +1 cations. Therefore, since sulfur tends to form a -2 anion (S2-), the expected formula would be M2S, where M represents the alkali metal.
Between an alkaline earth metal and nitrogen, alkaline earth metals (Group 2) typically form +2 cations, while nitrogen tends to form a -3 anion (N3-). Therefore, the general formula for the compound formed in this case would be M3N2, with M representing the alkaline earth metal.
For aluminum, a Group 13 element, it typically forms a +3 cation (Al3+). When reacting with a halogen, which forms a -1 anion, the resulting compound would have the formula AlX3, where X represents the halogen.