a: Ta có: \(\sqrt{x}\left(\sqrt{x}-3\right)-5\left(\sqrt{x}+3\right)\)
\(=x-3\sqrt{x}-5\sqrt{x}-15\)
\(=x-8\sqrt{x}-15\)
b: Ta có: \(3\left(\sqrt{x}+2\right)+\left(\sqrt{x}+3\right)\left(2-\sqrt{x}\right)\)
\(=3\sqrt{x}+6+2\sqrt{x}-x+6-3\sqrt{x}\)
\(=-x+2\sqrt{x}+12\)
c: Ta có: \(\left(\sqrt{x}+3\right)\left(\sqrt{x}-3\right)-5\left(\sqrt{x}-1\right)\)
\(=x-9-5\sqrt{x}+5\)
\(=x-5\sqrt{x}-4\)
d: Ta có: \(3\left(\sqrt{x}-2\right)-\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)\)
\(=3\sqrt{x}-6-x+1\)
\(=-x+3\sqrt{x}-5\)