Giải các pt sau
a, \(\dfrac{1}{sinx}+\dfrac{1}{cosx}=4sin\left(x+\dfrac{\pi}{4}\right)\)
b, \(2sin\left(2x-\dfrac{\pi}{6}\right)+4sinx+1=0\)
c, \(cos2x+\sqrt{3}sinx+\sqrt{3}sin2x-cosx=2\)
d, \(4sin^2\dfrac{x}{2}-\sqrt{3}cos2x=1+cos^2\left(x-\dfrac{3\pi}{4}\right)\)