Question: how many valence electrons are in y?
Answer: Valence electrons in the elements X and Y are 3 and 6.