Solution by jasperE3.
f(f(x)+f(x)f(y))=x+f(x)f(y).
P(x,f(z)+f(z)f(y))⇒f(f(x)+zf(x)+f(x)f(y)f(z))=x+zf(x)+f(x)f(y)f(z).
In particular, setting z=−1 forces
f(f(x)f(y)f(−1))=x−f(x)+f(x)f(y)f(−1)
and swapping x,y:
x−f(x)+f(x)f(y)f(−1)=f(f(x)f(y)f(−1))=y−f(y)+f(x)f(y)f(−1),
so x−f(x) is constant, i.e. f is linear. Testing, we have the only solution f(x)=x.