TeX source:
\begin{array}{l|l|l|l}x & f(x) & f^{\prime}(x) & \max / \mathrm{min} \\\hline 1 & 5 & 0 & \text { local max } \\2 & & & \\3 & 1 & 0 & \text { local min } \\4 & 3 & 0 & \text { neither } \\5 & & & \\6 & 7 & 0 & \text { local max }\end{array}