Find all functions f ⁣:R→Rf\colon\mathbb{R}\to\mathbb{R} such that f(xf(x)+2y)=f(x2)+f(y)+x+y−1f(xf(x)+2y)=f(x^{2})+f(y)+x+y-1 for all xx, y∈Ry\in\mathbb{R}.