Constrant:
$$q=x^2 +y^2-1=0$$
Goal:
$$ c= x+ y + \frac{1}{xy}$$
Now, by LaGrange multipliers , we can say that:
$$ \nabla q = \lambda \nabla c$$
Hence,
$$2x = 1 - \frac{1}{x^2y} \tag{1}$$
$$ 2y = 1- \frac1{y^2 x} \tag{2}$$
By multiplication of $x$ in eqtn (1) and $y$ in eqtn (2):
$$ 2x^2 = x - \frac{1}{xy} \tag{3}$$
$$ 2y^2 = y - \frac{1}{yx} \tag{4}$$
Substract the two equations:
$$ 2(x^2 - y^2) = (x-y)$$
Now, either $x=y$ or $x+y = \frac12$, substitute this into the equation $(x+y)^2 -2xy -1 = 0$ while considering the constraints
$$ 2y^2 =1 \to (x, y)=\{(\frac{1}{\sqrt{2} }, \frac{1}{\sqrt{2} }) \}\tag5$$
$$ (\frac12)^2 -2xy -1 = 0 \to \frac{1}{xy}=-\frac83 \tag6$$
We can check that it is indeed eqtn (5) where the function extremizes with $2+ \sqrt{2}$