(a) Based on the periodic table, Pm has the atomic number of 61, therefore it has 61 electrons with electron configuration:
1s22s22p63s23p64s23d104p65s24d105p66s24f5
Instead of being in the 4f orbital, the lone electron went to the d-orbital.
(b) Based on the periodic table, Lu has the atomic number of 71, therefore it has 71 electrons.
1s22s22p63s23p64s23d104p65s24d105p66s24f145d1
When it gains a charge of 3+, it loses 3 electrons, and will have only 68 electrons with electron configuration:
1s22s22p63s23p64s23d104p65s24d105p66s24f12
(c) Based on the periodic table, Th has the atomic number of 90, therefore it has 90 electrons with electron configuration:
1s22s22p63s23p64s23d104p65s24d105p66s24f145d106p67s25f2
(d) Based on the periodic table, Fe has the atomic number of 100, therefore it has 100 electrons.
1s22s22p63s23p64s23d104p65s24d105p66s24f145d106p67s25f12
When it gains a charge of 3+, it loses 3 electrons, and will have only 88 electrons with electron configuration:
1s22s22p63s23p64s23d104p65s24d105p66s24f145d106p67s25f9