Problem

Source: Netherlands TST for IMO 2017 day 2 problem 4

Tags: functional equation, algebra



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