The value 2 is reached when sin(x+30∘)=1, for example at x=60∘: 3×23+21=23+21=2.
Why the other options are wrong
(B) 3+1≈2.73 adds the greatest values of the two terms. But 3sinx=3 needs sinx=1, and then cosx=0. The two greatest values never occur together, and the expression never exceeds 2.
(C) 3 is the value at x=90∘. At x=60∘ the value is 2, which is larger.