Có \(\sin^2a+\cos^2a=1\)\(\Leftrightarrow\sin^2a=1-\cos^2a=1-\left(\frac{1}{3}\right)^2=\frac{8}{9}\)
\(\Leftrightarrow\sin a=\frac{\sqrt{8}}{3}\)
Xét \(B=\frac{\sin a-3\cos a}{\sin a+2\cos a}=\frac{\frac{\sqrt{8}}{3}-3\cdot\frac{1}{3}}{\frac{\sqrt{8}}{3}+2\cdot\frac{1}{3}}=\frac{7-5\sqrt{2}}{2}\)