Rewrite as a product.

Write as a fraction with denominator .

Divide by .

Convert from to .

Use the double–angle identity to transform to .

Apply the distributive property.

Rewrite in terms of sines and cosines.

Combine and .

Factor out of .

Separate fractions.

Convert from to .

Divide by .

Expand (cos(2x))/(sin(x))