Precalculus Examples

Solve over the Interval (cot(x)+1)(sin(x)-1)=0 , 0=x<2pi
I am unable to solve this problem.