d - electrons in Fe (Z=26)
s - electrons in Mg (Z=12)
p - electrons in Ne (Z=10)
p - electrons in Cl (Z=17)
The electronic configuration of Fe (Z=26) is [Ar] 3d⁶ 4s².
Fe²⁺ is formed by the loss of two electrons from the 4s orbital. Thus, the electronic configuration of Fe²⁺ is [Ar] 3d⁶.
Therefore, the number of d-electrons in Fe²⁺ is 6.
Now let's check the options: