Write general outer electron configurations $\left(n s^{x} n p^{y}\right)$ for groups $6 \mathrm{~A}$ and $7 \mathrm{~A}$ in the periodic table. The electron affinity of each group 7A element is more negative than that of each corresponding group 6A element. Use the electron configurations to explain why this is so.