\(y=2\left(\dfrac{1}{2}sin2x+\dfrac{\sqrt{3}}{2}cos2x\right)=2sin\left(2x+\dfrac{\pi}{3}\right)\)
\(-1\le sin\left(2x+\dfrac{\pi}{3}\right)\le1\Rightarrow-2\le y\le2\)
\(y_{min}=-2\) khi \(sin\left(2x+\dfrac{\pi}{3}\right)=-1\Rightarrow x=-\dfrac{5\pi}{12}+k\pi\)
\(y_{max}=2\) khi \(sin\left(2x+\dfrac{\pi}{3}\right)=1\Rightarrow x=\dfrac{\pi}{12}+k\pi\)