The electronic configuration of an element X is 2, 8, 8, 2. To which (a) period (b) group of the modern periodic table does X belong ? State its valency. Justify your answer in each case.