The shape of XeF4 is square planar or square pyramidal and structure is octahedral with sp3 d2 -hybridisation. The molecule looks like :

Structure and shape of OSF4 is irregular trigonal bipyramidal with less electronegative element at equitorial position with sp3d hybridisation. The structure looks like :
