If $\begin{vmatrix} x + 2 & 8 & 9 \\ 4 & x + 6 & 9 \\ 4 & 8 & x + 7 \end{vmatrix} = (x - 2)^{2}(ax + b),$ then the values of $a$ and $b$ respectively are