\(A=\dfrac{2\sqrt{b}}{\sqrt{a}-\sqrt{b}}-\dfrac{1}{a-b}\left(\dfrac{a\sqrt{a}-b\sqrt{b}}{\sqrt{a}-\sqrt{b}}+\sqrt{ab}\right)\)
\(=\dfrac{2\sqrt{b}}{\sqrt{a}-\sqrt{b}}-\dfrac{1}{\left(\sqrt{a}-\sqrt{b}\right)\left(\sqrt{a}+\sqrt{b}\right)}\left(\dfrac{\left(\sqrt{a}-\sqrt{b}\right)\left(a+\sqrt{ab}+b\right)}{\sqrt{a}-\sqrt{b}}+\sqrt{ab}\right)\)
\(=\dfrac{2\sqrt{b}}{\sqrt{a}-\sqrt{b}}-\dfrac{a+2\sqrt{ab}+b}{\left(\sqrt{a}-\sqrt{b}\right)\left(\sqrt{a}+\sqrt{b}\right)}\)
\(=\dfrac{2\sqrt{b}}{\sqrt{a}-\sqrt{b}}-\dfrac{\sqrt{a}+\sqrt{b}}{\sqrt{a}-\sqrt{b}}\)
\(=\dfrac{2\sqrt{b}-\sqrt{a}-\sqrt{b}}{\sqrt{a}-\sqrt{b}}=\dfrac{-\sqrt{a}+\sqrt{b}}{\sqrt{a}-\sqrt{b}}\)
=-1