\(A=\dfrac{2x+4}{x\sqrt{x}-1}+\dfrac{\sqrt{x}+2}{x+\sqrt{x}+1}+\dfrac{2}{1-\sqrt{x}}\)
\(=\dfrac{2x+4}{\sqrt{x^3}-1}+\dfrac{\sqrt{x}+2}{x+\sqrt{x}+1}-\dfrac{2}{\sqrt{x}-1}\)
\(=\dfrac{2x+4}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}+\dfrac{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}-\dfrac{2\left(x+\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{2x+4+x+\sqrt{x}-2-2x-2\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{x-\sqrt{x}}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{\sqrt{x}}{x+\sqrt{x}+1}\)
#Toru
A=\(\dfrac{2x+4}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}+\dfrac{\sqrt{x}+2}{x+\sqrt{x}+1}-\dfrac{2}{\sqrt{x}-1}=\dfrac{2x+4+\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)-2\left(x+\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}=\dfrac{2x+4+x+\sqrt{x}-2-2x-2\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}=\dfrac{-x-\sqrt{x}}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}=\dfrac{-\sqrt{x}\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)