For molecules whose central atom has lone pairs, we will use the ABE notation, where A is the central atom, B is a surrounding atom, and E is a lone pair of A.

We must take into account, to determine the geometry, that the repulsion between lone pairs is greater than between lone pairs and bonding pairs, being the smallest repulsion between two bonding pairs.

Lone Pair Repulsion> Lone-Bonding Pair Repulsion> Bonding Pair Repulsion