Rewrite as a product.

Write as a fraction with denominator .

Simplify.

Divide by .

Convert from to .

To write as a fraction with a common denominator, multiply by .

Combine.

Multiply by .

Combine the numerators over the common denominator.

Simplify (sin(x)+cos(x))/(cos(x))-(sin(x-cos(x)))/(sin(x))