Four elements W, X, Y and Z have atomic number 2,6,16 and 20 respectively. Which…