Let . Find .

Rewrite.

Divide by .

Rewrite the problem using and .

Combine and .

Since is constant with respect to , move out of the integral.

The integral of with respect to is .

Simplify.

Combine and .

Replace all occurrences of with .

Evaluate integral of cot(3x) with respect to x