Question

$$(1+ \cot x) { \sin }^{ 2 } x=1$$

Solve for x

$x=\pi n_{1}+\frac{\pi }{4}\text{, }n_{1}\in \mathrm{Z}$
$x=\pi n_{1}+\frac{\pi }{2}\text{, }n_{1}\in \mathrm{Z}$