Problem

Source: Iranian Third Round 2020 Algebra exam Problem1

Tags:



find all functions from the reals to themselves. such that for every real $x,y$. $$f(y-f(x))=f(x)-2x+f(f(y))$$