ah ok i think i get what you're trying to say now. So in the question when its says given that f(x) = f(a-x), it is actually saying that those 2 functions are equal rather than refering to the general rule.
So then in the function xf(a-x), you can simply replace the f(a-x) by f(x) so then it...