The correct option is B √A2+B2
The general expression for an SHM is
y=Amp∗sin (ωt+ψ)
y=A0+Asinωt+Bcosωt
y−A0=Asin ωt+Bcos ωt which implies that the body is performing SHM about A0
Dividing and multiplying RHS by √A2+B2,
y−A0=√A2+B2(A√A2+B2sinωt+B√A2+B2cosωt)
which implies that the body is performing SHM about A0
We can use the identity
sin (p+q)=sin pcos q+cos psin q
Writing A√A2+B2=cos q
B√A2+B2=sin q for some angle q
y−A0=√A2+B2 sin(ωt+q)
Comparing with the general expression,
amplitude = √A2+B2