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