Rewrite in terms of sines and cosines.
Apply the distributive property.
Raise to the power of .
Raise to the power of .
Use the power rule to combine exponents.
Add and .
Rewrite using the commutative property of multiplication.
Cancel the common factor of .
Factor out of .
Cancel the common factor.
Rewrite the expression.
Reorder and .
Rewrite as .
Factor out of .
Factor out of .
Rewrite as .
Apply pythagorean identity.
Simplify cos(x)(cos(x)-sec(x))