Solution by jasperE3.
f(x2+f(xy))=xf(x)+yf(x).
f(x)=0 is a solution, else f is surjective.
If f(1)=0, P(1,x)⇒f(1+f(x))=0⇒f(x+1)=0 for all x, contradiction.
P(1,x)⇒f(1+f(x))=f(1)+xf(1) so f is injective since f(1)=0.
P(0,x)⇒f(f(0))=xf(0), so by varying x we must have f(0)=0.
P(x,0)⇒f(x2)=xf(x), so f is odd.
P(x,−x)⇒f(x2−f(x2))=0=f(0)⇒f(x2)=x2 so f(x)=x for all x≥0, and since f is odd we get f(x)=x for all x.