The shapes of molecules with formula MX2 vary due to the effect of lone pairs.

Click on the buttons to see how the possible shapes and how the presence of lone pairs influences this.