Find all functions $f:\Bbb{R} \to \Bbb{R}$ such that for all $x,y,z \in \Bbb{R} $ , $f(f(x)+yz)=x+f(y)f(z)$
I was told to do this by proving $f$ is injective and surjective. I have proved it this way : setting $y=z=0 $, and then $f(f(x))=x+f^2(0)$. For any $b \in \Bbb{R}$, $x+f^2(0)=b$ has a solution ,then $f(f(x))=b$ has a solution and it follows that $f$ is surjective. For $f(x)=f(y)$, $f(f(x))=f(f(y))$, so $x+f^2(0)=y+f^2(0)$ , so $x=y$. That's $f$ is injective. But how to find $f$ , I have no idea.