\(D=2\left(sin^2x+cos^2x\right)\left(sin^4x+cos^4x-sin^2x.cos^2x\right)-3\left(sin^4x+cos^4x\right)\)
\(=2\left(sin^4x+cos^4x\right)-2sin^2x.cos^2x-3\left(sin^4x+cos^4x\right)\)
\(=-\left(sin^4x+2sin^2x.cos^2x+cos^4x\right)\)
\(=-\left(sin^2x+cos^2x\right)^2=-1\)