Note: we show the solution for the statement of IMO 1992 Q2, which has x and y swapped.
Solution by Mr. 1.
We claim the only solutions are f(x)≡x and f(x)≡−x, which obviously work. We now show they are the only solutions. Let P(x,y) denote the assertion that f(xf(x)+f(y))=x2+y.
P(0,y)⟹f(f(t))=y.
P(x,y)−P(f(x),y)⟹f(f(x)x+f(y))−f(xf(x)+f(y))=f(x)2+y−x2−y=0⟹f(x)2=x2 so f(x)=±x.
If f(a)=a and f(b)=−b where a,b=0, P(a,b)⟹f(a2−b)=a2+b={a2−bb−a2⟹a=0 or b=0⟹ contradiction so f(x)=x or f(x)=−x.