XeF4------Xe has 8 e-----4 are used in 4bond pairs----rest form 2 lone pairs----6 pairs-----sp3d2-------for min repulsions 2e- lone pairs align opposite to each other axially-----F occupy eqt positions
-------shape is square planar
-----but geometry is octahedral.
-->Remember geometry and shape are two different things but well correlated---you just need not take lone pairs into account for shape of molecule.