Final answer:
Atom X has 1 valence electron and Atom Y has 7 valence electrons.
Step-by-step explanation:
The electron configuration of an atom tells us how the electrons are distributed in the different energy levels or orbitals. To determine the number of valence electrons, we look at the outermost energy level of the atom's electron configuration. For atom X, the electron configuration is 1, so it has 1 valence electron. For atom Y, the electron configuration is 7, so it also has 7 valence electrons.