\[y = - x^{2} + 6x - 8\]
\[y(2) = 0;\ \ y(5) = - 3;\ \ \ y(3) = 1\]
\[\ y_{\max} = 1;\ \ \ y_{\min} = - 3.\]