Solve the equation: 2tan-1(cos x) = tan-1(2cosec x)

Solve the equation:

image