RPedio nailed it, but I personally would have a hard time interpreting that if I wasn't familiar with AXE and VSEPR, so here is an alternate explanation; hopefully it helps.
I just think of it this way:
- You've got your "central atom", and that's Xe. Xe is a noble gas, right, but forget about that for a minute and just accept that its bound to Fl.
- Each Fl will donate an electron to Xe and Xe will reciprocate (Fl makes single bonds), so there are two bonds, and two of the 8 electrons from the Xe valence shell are "used up" and there are three lone pair remaining.
- First priority is realizing that electron repulsion is very strong, and the electrons will orient themselves in a fashion that will make each one as far apart as possible from the others. The only way to do this is when there are 3 electron pairs is to make a "triangle".
- Second priority is orienting the Fl. The electron pairs have made a "triangle" now the electron clouds from the Fl will be repelled by the lone pairs, and they will orient themselves as far away from each other and the lone pairs as possible. So, one goes above the triangle and the other goes below.
So, what you have is an Xe atom with three lone pairs oriented in a planar triangle shape (I visualize them horizontally) with one Fl atom below the triangle and another above. The result is a linear shape for the XeFl2 molecule, but if you include the electrons in the geometry, its technically trigonal bipyramidal.