Problem

Source: Own. IMO 2020 Malaysian Final Training

Tags: algebra, functional equation



Find all functions $ f : \mathbb{R} \rightarrow \mathbb{R} $ such that for all reals $ x, y $,$$ f(x^2+f(x+y))=y+xf(x+1) $$