Find all such functions $\displaystyle f$ defined on the set of real numbers and assuming real values that for any real $\displaystyle x,y$ the following equation is satisfied:

$\displaystyle f(x+f(x+y))=f(x-y)+f(x)^2$

Could somebody help me solve this problem?