\(x+\sqrt{x}+2\sqrt{x}+2\)
= \(\sqrt{x}\left(\sqrt{x}+1\right)+2\left(\sqrt{x}+1\right)\)
= \(\left(\sqrt{x}+2\right)\left(\sqrt{x}+1\right)\)
\(2x-2\sqrt{x}+3\sqrt{x}-3\)
= \(2\sqrt{x}\left(\sqrt{x}-1\right)+3\left(\sqrt{x}-1\right)\)
= \(\left(2\sqrt{x}+3\right)\left(\sqrt{x}-1\right)\)