Evaluate
Put cot x=t, -cosec2x dx = dt;
By partial fractions it’s a remembering thing
That if you see the above integral just apply the below return result,