Distribution of electrons around the nucleus in certain shell/orbits is known as the electronic configuration of an element.
Electronic configuration of oxygen = 2, 6
Electronic configuration of the element with atomic number 12 will be 2, 8, 2.
Electrons present is K subshell will be 2.
Electrons present is L subshell will be 8.
Electrons present is M subshell will be 2.