sin(2x)+cos(2x)+2
=√2[(√2/2)sin(2x)+(√2/2)cos(2x)]+2
=√2[sin(2x)cos(π/4)+cos(2x)sin(π/4)]+2
=√2sin(2x+π/4)+2