The figure of the problem where $y=\frac x2,y=-\frac x2$ and $x=y^2+1$ enclose the region is this:
The shaded region is the enclosed area. Now the max of $x^2+y^2$ in this area is exactly what in this region?Is it the point where $y=\frac{x}{2}$ intersects $x^2+y^2$?


If the feasible region is the light blue region then the maximum for $x^2+y^2$ is $\infty$ otherwise if the feasible region is the white one the the maximum is attained at $(x_0,y_0)=(0,1)$ with value $x_0^2+y_0^2 = 1$