Step by step explanation:
With the
we see that the main quantum number is 5, which in turn represents the period, the 2 electrons in the s indicate its valence electrons, so it is in group II-A, then, we only look for the element, the which would be: Sr (Strontium).
With the
It is also in the fifth period, but since it has 3 electrons in p, the other 2 of s are added (Aufbau's rule) giving 5 valence electrons, and therefore placing it in the V-A group, the element in question is: Sb (Antimony).