I think 4 Can be correct, though not sure of the correct approach.
for maxima, dy/dx=0
differentiating
-sinx.cos(x+2) -cosx.sin(x+2) +2.cos(x+2).sin(x+1)=0
=> sin2(x+1)=sin(x+2.cosx + cos(x+2)sinx
=> sin 2(x+1)=sin2(x+1)
so , it is becoming an identity. , which means that the function is at its maximum value at all points. So it has to be a straight line parallel to x axis
Moreover puttingx=pi/2 in f(x) we get -sin^21