Verify the identity by transforming the left-hand side into the right-hand side.
(1 + cos² 3θ) / (sin² 3θ) = 2 csc² 3θ - 1
(1 + cos² 3θ) / (sin² 3θ) = 2 csc² 3θ - 1