\(A=\frac{\sqrt{a}+\sqrt{b}}{2\sqrt{a}-2\sqrt{b}}-\frac{\sqrt{a}-\sqrt{b}}{2\sqrt{a}+2\sqrt{b}}-\frac{2b}{b-a}.\)
\(=\frac{\sqrt{a}+\sqrt{b}}{2\left(\sqrt{a}-\sqrt{b}\right)}-\frac{\sqrt{a}-\sqrt{b}}{2\left(\sqrt{a}+\sqrt{b}\right)}+\frac{2b}{\left(\sqrt{a}+\sqrt{b}\right)\left(\sqrt{a}-\sqrt{b}\right)}\)
\(=\frac{\left(\sqrt{a}+\sqrt{b}\right)^2-\left(\sqrt{a}-\sqrt{b}\right)^2+4b}{2\left(\sqrt{a}-\sqrt{b}\right)\left(\sqrt{a}+\sqrt{b}\right)}\)
\(=\frac{a+2\sqrt{ab}+b-a+2\sqrt{ab}-b+4b}{2\left(\sqrt{a}-\sqrt{b}\right)\left(\sqrt{a}+\sqrt{b}\right)}\)
\(=\frac{4\sqrt{ab}+4b}{2\left(\sqrt{a}-\sqrt{b}\right)\left(\sqrt{a}+\sqrt{b}\right)}=\frac{4\sqrt{b}\left(\sqrt{a}+\sqrt{b}\right)}{2\left(\sqrt{a}+\sqrt{b}\right)\left(\sqrt{a}-\sqrt{b}\right)}\)
\(=\frac{4\sqrt{b}}{\sqrt{a}-\sqrt{b}}\)
\(B=\left(\frac{a\sqrt{a}+b\sqrt{b}}{\sqrt{a}+\sqrt{b}}-\sqrt{ab}\right)\left(\frac{\sqrt{a}+\sqrt{b}}{a-b}\right)^2\)
\(=\left(\frac{\sqrt{a}^3+\sqrt{b}^3}{\sqrt{a}+\sqrt{b}}-\sqrt{ab}\right)\left(\frac{\sqrt{a}+\sqrt{b}}{\left(\sqrt{a}-\sqrt{b}\right)\left(\sqrt{a}+\sqrt{b}\right)}\right)^2\)
\(=\left(\frac{\left(\sqrt{a}+\sqrt{b}\right)\left(a-\sqrt{ab}+b\right)}{\sqrt{a}+\sqrt{b}}-\sqrt{ab}\right)\)\(\left(\frac{1}{\sqrt{a}-\sqrt{b}}\right)^2\)
\(=\left(a-\sqrt{ab}+b-\sqrt{ab}\right).\frac{1}{\left(\sqrt{a}-\sqrt{b}\right)^2}\)
\(=\left(\sqrt{a}-\sqrt{b}\right)^2.\frac{1}{\left(\sqrt{a}-\sqrt{b}\right)^2}=1\)