The following functional equation problem:
Determine all the functions $ f : \mathbb R \to \mathbb R $ such that for any $ x , y \in \mathbb R $ it is true that: $$ f \big( x f ( y ) + f ( x ) \big) + f \left( y ^ 2 \right) = f ( x ) + y f ( x + y ) $$
This is the fourth problem from the university level paper here: https://www.obm.org.br/content/uploads/2019/11/Prova_Nivel_Universitario_OBM_2019.pdf
I am attaching an attempt in an answer (because would lengthen the description too much and which is good practice according to guidelines)
Edit: Fully Solved
This is my attempt at a solution and is partial (eventually resolves only in $\mathbb{Q}$):
Substituting $x=0$, $y=\beta$ and then $-\beta$, for $\beta$ any non zero real number, we get the equations: $$f(f(0)) + f(\beta^2) = f(0) + \beta f(\beta)\quad \quad \quad \quad \quad \quad \quad \quad.$$ $$f(f(0)) + f(\beta^2) = f(0) + -\beta f(-\beta)\quad \text{ subtracting, we get}$$ $$\implies f(-\beta) + f(\beta) = 0\quad \forall \beta \in \mathbb{R}-\{0\}\tag{1}$$
Substituting $x=1$, $y=-1$, $$f(f(-1)+f(1)) + f(1) = f(1) - f(0) \quad \quad \text{ and now using (1) with }\beta=1\text{, we get:}$$ $$f(0) = -f(0) \implies f(0) = 0 \tag{2}$$
Now with this knowledge if we substitute $x=0$, we have for any $y\in\mathbb{R}$: $$f(y^2) = yf(y) \tag{3}$$
Also if we substitute $y=0$, with all this information, we obtain $\forall x\in \mathbb{R}$, $$f(f(x)) = f(x)\tag{4}$$
Now substitute $x=-\beta, y=\beta$ and we get for all $\beta \in \mathbb{R}$: $$f(-\beta\cdot f(\beta)+f(-\beta)) + f(\beta^2) = f(-\beta)\quad \qquad \text{using (2)}$$ $$f((\beta+1)\cdot f(\beta)) = f(\beta^2) + f(\beta) = (\beta+1)\cdot f(\beta)\quad \text{using (1), (3)}$$ $$\text{Thus, }\qquad f((x+1)\cdot f(x)) = (x+1)\cdot f(x) \quad \forall x \in \mathbb{R}\tag{5}$$
Now put $y=x$, and we get $\forall x\in\mathbb{R}-\{0\}$ (also for $0$, but that's trivial), $$f((x+1)\cdot f(x)) + f(x^2) = f(x) + xf(2x)$$ $$\implies (x+1)\cdot f(x) +xf(x) = f(x) + xf(2x)$$ $$\implies f(2x) = 2f(x) \tag{6}$$
Earlier I went down the following route which resolves the problem in $\mathbb{Q}$. Feel free to skip ahead to the final solution section
Final Solution
(Ref @1-___-'s comment) We can observe that this is a Cauchy functional equation by adding up the $x$ and $-x$ substitutions and use $(3)$ and $(6)$ to get: $$f(x+y) + f(y-x) = f(2y)$$ Since we can independently pick any real pair of values for $x+y$ and $y-x$, we have that $$f(\alpha)+f(\beta)=f(\alpha+\beta)\quad \forall\alpha,\beta\in\mathbb{R}$$
Now we can use this to target the original relation which now simplifies to: $$f(xf(y)) + f(f(x)) + f(y^2) = f(x) + yf(x) + yf(y)$$ Using $(3)$ and $(4)$, $$f(xf(y)) = yf(x)$$ Now substituting $x=1$, we get for all real $y$: $$f(f(y)) = f(y) = y\cdot f(1)$$ Thus the solution is in the space of linear functions: $$f(x) = c\cdot x$$ for some $c\in\mathbb{R}$. Plugging this form back into the original equation forces $c=0$ or $1$ and thus yields these two solutions in $\mathbb{R}$: $$f(x)=0 \quad\forall x\in \mathbb{R}\qquad \text{ and } f(x)=x\quad\forall x\in \mathbb{R}$$