The atomic number of Nickle is 28, so its electronic configuration in ground state is,
NiĀ =Ā 28 eā»Ā =Ā 1s², 2s², 2pā¶, 3s², 3pā¶, 4s², 3dāø
So, when Nickle looses two electrons it will attain +2 charge, remaining with 26 electrons as,
NiāŗĀ²Ā =Ā 26 eā»Ā =Ā 1s², 2s², 2pā¶, 3s², 3pā¶,Ā 3dāø
Ni looses electrons from 4s shell instead instead of 3d shell because the 4s shell electrons are at larger distance as compared to 3d, hence, felting less nuclear charge and easily lost.