Find the real number $k$ such that $f(x) = f(k - x)$ for all real numbers $x$, where f(x)=2x2+7x+x3−5x+18x.