Write cos^4x-tan^2x in terms of (a) cos^2x and (b) sin^2x?