\[y = \sqrt{x^{2}} - x + 3,\]
\[если\ \ x \geq 0\]
\[y = \sqrt{x^{2}} - x + 3 =\]
\[= x - x + 3 = 3\]