
In XeOF2, the central atom has 3 bond pairs and 2 lone pairs. Hence, the electrons will enter a trigonal bipyramidal geometry. The 2 lone pairs will take up equatorial positions giving the molecule a T-shape. Xe in XeOF4 has 5 bond pairs and 1 lone pair. The electrons will take up square bipyramidal geometry, but due to a lone pair, the shape of the molecule will be square pyramidal.