This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] $\frac{e^y\,dy}{e^y+1}=-\frac{\cos x}{\sin x}dx\Rightarrow\ln(e^y+1)=-\ln\sin x+C\Rightarrow(e^y+1)\sin x=K$. At $\left(\frac\pi2,0\right)$: $K=2$. At $x=\frac\pi6$: $(e^y+1)\cdot\frac12=2\Rightarrow e^y=3$. Answer: 3.