Q.) First convert all the trigonometric functions into sin and cos form.
( 1 - { cosn-2x / sinn-2x } ) / ( sinx/cosx + cosx/sinx .{ cosn-2x / sinn-2x} )
u'll get : ( sinn-2x - cosn-2x )cosx.sinx / ( sinnx + cosnx )
now, substitute t = sinn x + cosn x and now solve.
u'll get : 1/n ln | sinnx + cosnx |