For this we have to use trignometric identities, e.g Tan(x)= sin(x)/cos(x), sin2(x) + cos2(x) = 1, 1/sin(x) = cosec(x)
tan(x) + cot(x) = sin(x)/cos(x) + cos(x)/sin(x) = [sin2(x) + cos2(x)]/sin(x)cos(x) = 1/sin(x)cos(x) ------------------------> Sin(2x) = 2sin(x)cos(x) so sin(x)cos(x) = Sin(2x)/2 = 2/sin(2x) = 2cosec(2x)