Determine all the functions f:R→Rf: \mathbb{R} \rightarrow \mathbb{R}f:R→R such that
f(x2+f(y))=f(f(x))+f(y2)+2f(xy)f\left(x^{2}+f(y)\right)=f(f(x))+f\left(y^{2}\right)+2 f(xy)f(x2+f(y))=f(f(x))+f(y2)+2f(xy)
for all real numbers xxx and yyy.