In class I learnt that to sketch $y=f(a-x)$ given a graph of $y=f(x)$, you reflect the given graph about the line $x=a/2$ (this was proven to us).
And then the teacher said that something we shouldn't do was sketch $y=f(x)\rightarrow y=f(-x)\rightarrow y=f(-x+a)$ which is equivalent to $y=f(a-x)$
And then he showed us how it was wrong with $y=x^2\rightarrow y=(2-x)^2$ as an example (the graph turned out to resemble $y=(x+2)^2$.
Can anyone explain why this mistake happened? The 'sequence' seemed so logical but I don't know where the error comes from.