a,
\(\cos^3x-\sin^3x=\cos x+\sin x\\ < =>\cos^3x-\cos x=\sin^3x-\sin x\\ < =>\cos x\left(\cos^2x-1\right)=\sin x\left(\sin^2x-1\right)\\ < =>\cos x.\left(-\sin^2x\right)=\sin x.\left(-\cos^2x\right)\\ < =>\dfrac{1}{cosx}=\dfrac{1}{sinx}\)
b,
\(2sinx+2\sqrt{3}cosx=\dfrac{\sqrt{3}}{cosx}+\dfrac{1}{sinx}\\ < =>2sinx-\dfrac{1}{sinx}=\dfrac{\sqrt{3}}{cosx}-2\sqrt{3}cosx\\ < =>\dfrac{2sin^2x-1}{sinx}=\dfrac{\sqrt{3}.cosx.\left(1-2cos^2x\right)}{cosx}\\ < =>\dfrac{cos2x}{sinx}=\sqrt{3}.cos2x\\ < =>\dfrac{1}{sinx}=\sqrt{3}\)