a: \(A=\dfrac{x-\sqrt{x}-2+x+\sqrt{x}-2}{\left(\sqrt{x}+1\right)^2\left(\sqrt{x}-1\right)}\cdot\dfrac{\sqrt{x}+1}{2}\)
\(=\dfrac{2x-4}{2}\cdot\dfrac{1}{x-1}=\dfrac{x-2}{x-1}\)
\(A=\dfrac{x-\sqrt{x}-2+x+\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}\cdot\dfrac{\sqrt{x}+1}{2}\\ A=\dfrac{2\left(x-2\right)}{2\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}=\dfrac{x-2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}+1\right)}\)