SIN(x) / (COS(x) + 1) + (1 + COS(x)) / SIN(x)
SIN(x)^2 / (SIN(x)·(COS(x) + 1)) + (1 + COS(x))^2 / (SIN(x)·(COS(x) + 1))
(SIN(x)^2 + (1 + COS(x))^2) / (SIN(x)·(COS(x) + 1))
(SIN(x)^2 + 1 + 2·COS(x) + COS(x)^2) / (SIN(x)·(COS(x) + 1))
(2 + 2·COS(x)) / (SIN(x)·(COS(x) + 1))
2·(1 + COS(x)) / (SIN(x)·(COS(x) + 1))
2 / SIN(x)