Q.
A molecule XY2 contains two σ , two π bond and one lone pair of electron in the valence shell of X . The arrangement of lone pair as well as bond pair is :
A molecule that contains two sigma bonds and two lone pair of electrons in the valence shell with one lone pair of electron will have a bond angle of around 120 degrees.
So this angle is taken by trigonal planar