$$\begin{gather} \sqrt{x}+y=6 \tag{1} \\ x^2 + y^2 = 90 \tag{2} \end{gather}$$
WE have to solve for $x$ and $y$(Note that 9 is an obvious value of x) My friend asked me this question earlier today, which he said he had made up himself. However, he himself has no idea how to solve for the two variables. I used the method of substitution to finally obtain $x(x+1)=6(21-2y)$. Then I figured that both sides must be non-negative, and hence the value of $y$ has to be less than $11$. Then we test for values less than $11$ which makes $6(21-2y)$ a product of two consecutive numbers. WE get $3$ as a value of $y$, and also $7$. But putting $7$ in (1) does not work.
But there is a flaw in my reasoning. When I get to the 'consecutive' part, I start assuming $x$ and $y$ are integers. Since the person who asked me is not familiar with complex numbers, WE can assume that the solutions are real. However, I am interested in extending the values of $x$ and $y$ beyond the reals, if there are any.
NOTE: From (2), we get the value of $y^2$ in terms of $x$. Then we figure out the value of $x$ in (1) and then substitute $y$ for $90-x^2$, which gives us $x(x+1)$.
$$\sqrt x + y = 6\tag{1}$$ $$x^2 + y^2 = 90\tag{2}$$
I'll pursue a "different take" and solve for $y$ in terms of $x$:
First, we can consider the task as one of finding the points of intersection of the curve $\sqrt x + y = 6$, and the circle $x^2 + y^2 = 90$. Plotting both equations in Wolfram Alpha gives us:
It is quite evident that there is one and only one point of intersection: $(x, y) = (9, 3)$.
Second approach, more algebraic:
From $(1)$, $y = 6-\sqrt x$.
Substituting $y = 6 -\sqrt x$ into $(2)$ gives us
$$\begin{align} x^2 +(6 - \sqrt x)^2 & = 90 \\ \\ x^2 + 36 - 12\sqrt x + x & = 90 \\ \\ x^2 + x - 12\sqrt x = 54\tag{3}\end{align}$$
Now, putting $t = \sqrt x$ or $t^2 = x$ gives us the equation:
$$t^4 + t^2 - 12 t - 54 = 0$$
$t = 3$ is one root (and this corresponds to $x = t^2 = 9$. Using polynomial division to factor gives us $$t^4 + t^2 - 12 t - 54 = (t - 3)(t^3 + 3t^2 +10t + 18) = 0$$
Only three other possible roots: one is real, and two complex. The approximate value of the second real root $t$ is $-2.1887$. But this implies $t = \sqrt x \approx -2.1887$ which is impossible, since the square root function returns the positive root. So in the end, our only fruitful solution remains $x = 9,\;y = 3$.
(If you're curious, It's a very elaborate process to find the exact form for the second real solution $t$: From Wolfram, here's a step by step: