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