\(a,M=\dfrac{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)}-\dfrac{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}+1\right)}+\dfrac{\sqrt{x}+1}{\sqrt{x}}\\ M=\dfrac{x+\sqrt{x}+1-x+\sqrt{x}-1+\sqrt{x}+1}{\sqrt{x}}\\ M=\dfrac{3\sqrt{x}+2}{\sqrt{x}}\\ b,M=\dfrac{9}{2}\Leftrightarrow9\sqrt{x}=2\left(3\sqrt{x}+2\right)\\ \Leftrightarrow3\sqrt{x}=4\\ \Leftrightarrow\sqrt{x}=\dfrac{4}{3}\Leftrightarrow x=\dfrac{16}{9}\left(tm\right)\)