\(\dfrac{\left(2\sqrt{X}-1\right)\left(X-\sqrt{X}+1\right)+\left(3\sqrt{X}-2\right)\left(\sqrt{X}+1\right)-2X\sqrt{X}-2\sqrt{X}+5}{\left(\sqrt{X}+1\right)\left(X-\sqrt{X}+1\right)}=\dfrac{2\sqrt{X}+2}{\left(\sqrt{X}+1\right)\left(X-\sqrt{X}+1\right)}=\dfrac{2}{X-\sqrt{X}+1}\)