Ta có:
\(sin^2a+cos^2a=1\Leftrightarrow sin^2a+\left(\frac{1}{3}\right)^2=1\Leftrightarrow sin^2a=\frac{8}{9}\Rightarrow sina=\frac{2\sqrt{2}}{3}.\)
\(B=\frac{sin\alpha-3cosa}{sina+2cosa}=\frac{\frac{2\sqrt{2}}{3}-3.\frac{1}{3}}{\frac{2\sqrt{2}}{3}+2.\frac{1}{3}}=\frac{7-5\sqrt{2}}{2}\)