1+sin2X+cos2X+1=(sin2X+cos2X)+2
=√2[sin2X*√2/2 +cos2X*√2/2]+2
=√2(sin2X*cosπ/4 +cos2X*sinπ/4)+2
=√2sin(2X+π/4)+2