The options are:
$A)$ $f(x) = x(x+2)$
$B)$ $f(x) = x-2$
$C)$ $f(x) = 2-x$
$D)$ $f(x) = 3x(x-2)$
$E)$ $f(x) = x^2(2-x)^2$
The answer given in my worksheet is $E)$ and I got it. My doubt is why it can't be $D)$ also? Solving thus: $f(x) = 3x(x-2)$
$f(2-x) = 3(2-x)(2-x-2) = 3(2-x)(-x) = 3[-(2-x)](x) = 3(x-2)x = 3x(x-2) = f(x)$
If I substitute some random values for $x$, then it works as well.
Example $1$: $x = 3 \rightarrow f(x) = f(3) = 3(3)(3-2) = 9$
$f(2-x) = f(2-3) = f(-1) = 3(-1)(-1-2) = 9$
Example $2$: $x = -1/2 \rightarrow f(x) = f(-1/2) = 3(-1/2)(-1/2-2) = 15/4$
$f(2-x) = f(2-(-1/2)) = f(5/2) = 3(5/2)(5/2-2) = 3(5/2)(1/2) = 15/4$
Thus, I think $D)$ should be the answer as well. Please correct me if I am missing something.