\(y=2\left(\dfrac{1}{2}sin3x-\dfrac{\sqrt{3}}{2}cos3x\right)=2sin\left(3x-\dfrac{\pi}{3}\right)\)
Do \(-1\le sin\left(3x-\dfrac{\pi}{3}\right)\le1\)
\(\Rightarrow-2\le y\le2\)
\(y_{min}=-2\) khi \(sin\left(3x-\dfrac{\pi}{3}\right)=-1\)
\(y_{max}=2\) khi \(sin\left(3x-\dfrac{\pi}{3}\right)=1\)