The solution of @Andrei is very neato, here we go with the messy one. We have the following problem
$$\min_{x,y} \; (\sqrt{x^2+y^2}) \\ \text{s.t.} \; ax^2+2bxy+dy^2=c$$
Now this problem clearly is not convex, but we convexify it like this
$$\min_{x,y} \; (x^2+y^2) \\ \text{s.t.} \; ax^2+2bxy+dy^2 \le c$$
Now we solve it using the dual (Lagrangian)
$$\mathscr{L}(x,y,\lambda) = x^2+y^2+\lambda(ax^2+2bxy+dy^2-c)\\
\nabla \mathscr{L}(x,y,\lambda) = \begin{bmatrix} (2+2a\lambda)x+2b\lambda y \\
2b\lambda x+(2+2a\lambda) y
\end{bmatrix}
$$
The slackness condition is $\lambda(ax^2+2bxy+dy^2-c)=0$, Now here we have to be carefull, if we assume $\lambda=0$ then we are allowing to get away from boundary and since we relaxed the problem to be convex, the answer will be $x=y=\lambda=0$ which clearly is not our solution. Therefore we go with $\lambda \neq 0$ and $ax^2+2bxy+dy^2-c = 0$. In that case, by solving $\nabla \mathscr{L} = 0$ we get the trivial solution $x=y=0$ which we know is not our answer, Thus the gradient equations must be degenerate and the determinant of system is equal to zero, we have
$$(2+2a\lambda)^2-(2b\lambda)^2=0$$
Which gives us two solutions, either $\lambda = \frac{-1}{a+b}$ or $\lambda =\frac{1}{b-a}$, putting those is one of the equations of $\nabla \mathscr{L}$ gives us either $x=y$ or $x=-y$. Now putting this in the constraint gives $ax^2+2bx^2+dx^2 = c$ or $ax^2-2bx^2+dx^2 = c$ which obviously gives u the answers $x^2=y^2 = \frac{c}{a+d\pm 2b}$
Therefore the minimum value for $\sqrt{x^2+y^2}$ is $\sqrt{\frac{2c}{a+d\pm 2b}}$. To get the answer of our problem we set $d=a$ and get $\sqrt{\frac{c}{a \pm b}}$ (the plus or minus sign is for the sign of $b$)