a: \(=\dfrac{a-4\sqrt{a}+4-a-4\sqrt{a}-4}{a-4}\cdot\dfrac{a-4}{\sqrt{a}}\)
=-8
b: \(=\dfrac{a-1}{\sqrt{a}\left(\sqrt{a}-1\right)}:\dfrac{\sqrt{a}-1-2}{a-1}\)
\(=\dfrac{a-1}{\sqrt{a}\left(\sqrt{a}-1\right)}\cdot\dfrac{a-1}{\sqrt{a}-3}\)
\(=\dfrac{\left(\sqrt{a}+1\right)\left(a-1\right)}{\sqrt{a}\left(\sqrt{a}-3\right)}\)