\[= \sqrt{\left( \sqrt{a} - 2 \right)^{2}} + \sqrt{\left( \sqrt{a} + 1 \right)^{2}} =\]
\[= \left| \sqrt{a} - 2 \right| + \sqrt{a} + 1\]
\[Если\ a \geq 2:\]
\[\sqrt{a} - 2 + \sqrt{a} + 1 = 2\sqrt{a} - 1.\]
\[Если\ a < 2:\]
\[2 - \sqrt{a} + \sqrt{a} + 1 = 3.\]