Solution by jasperE3.
f(f(x)2+f(xy))=f(x)2+yf(x).
f(x)=0 is a solution, else there is some x for which f(x)2+yf(x) can take any value as y varies and so f is surjective.
P(x,1)⇒f(f(x)2+f(x))=f(x)2+f(x)⇒f(x2+x)=x2+x by surjectivity, so f(x)=x for all x≥0 (since x2+x can take any nonnegative value).
P(x,x)⇒f(f(x)2+f(x2))=f(x)2+xf(x).
Evaluating the left side we have f(f(x)2+f(x2))=f(f(x)2+x2)=x2+f(x)2, and so xf(x)=x2 for all x. Since we already established f(0)=0, the unique solution is f(x)=x.