Simplify (csc(x)+cot(x))(1-cos(x))