An element X has atomic number between 37 and 54. In its gaseous ground state, the X atom has no electron with principal quantum number n=5, and it has no unpaired electrons. The gaseous ion X2+ has 8 electrons in its 4d subshell. Which option correctly gives the period, group and block of X in the long form periodic table?