Elements X,Y,Z have atomic numbers 6,9 and 12 respectively.
Which one has 4 electrons in the outermost orbit.
Element X-
Element Y-
Element Z-
Hence, it is clear after writing the electronic configuration that element X has 4 electrons in its outermost orbit.