\[y = x^{2} - 5x\frac{|x - 2|}{x - 2} - 14\]
\[\left\{ \begin{matrix} x - 2 > 0\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\ y = x^{2} - 5x - 14 \\ \end{matrix}\text{\ \ \ \ \ \ } \right.\ \text{\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\]
\[\left\{ \begin{matrix} x - 2 < 0\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\ y = x^{2} + 5x - 14 \\ \end{matrix} \right.\ \]
\[\left\{ \begin{matrix} x > 2\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\ y = x^{2} - 5x - 14 \\ \end{matrix}\text{\ \ \ \ } \right.\ \text{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\]
\[\left\{ \begin{matrix} x < 2\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \\ y = x^{2} + 5x - 14 \\ \end{matrix} \right.\ \]