Find the real number $k$ such that $f(x) = f(k - x)$ for all real numbers $x$, where f(x) = 3x^2 - 4x + x^2 + 17x.