Answer
Element X = Group 1A
Element Y = Group 6A
Work Step by Step
Element X has 1 dot, which represents no. of electrons in outermost shell. Elements of Group 1A have one electron in outermost shell.
Element y have 6 dots, which represents no. of electrons in outermost shell. Elements of Group 6A have six electrons in outermost shell.