$$2 \tan B+ \cos B= \frac{ { \cos }^{ 2 } B+2 \sin B }{ \cos B }$$
$B\neq \pi n_{1}+\frac{\pi }{2}$
$\forall n_{1}\in \mathrm{Z}$