The correct option is B 2
The maximum number of electrons in the nth orbit can be calculated by the formula 2n2.
K-shell is the first shell of an atom which is closest to the nucleus. Here, n=1
Therefore, maximum number of electrons that the K shell can occupy is 2 (1)2=2.
L-shell is the is the second shell of an atom which is closest to the nucleus. Here, n=2
Therefore, maximum number of electrons that the L shell can occupy is 2 (2)2=8.