Chemistry Examples

Find the Number of Protons write (the)(group)(numberandelectron)(arrangement)(for)Mg
I am unable to solve this problem.