Problem

Source: 2021 Israel TST 8 P2

Tags:



Find all functions $f:\mathbb{R}\to \mathbb{R}$ so that for any reals $x,y$ the following holds: \[f(x\cdot f(x+y))+f(f(y)\cdot f(x+y))=(x+y)^2\]