If you want to use calculus you can differentiate the function $$x\to f(x) = \frac{2x^2}{1 - x}+\frac{(1 - x)^2}{x}$$
We get $$f'(x)=\frac{-x^4+2x^3+2x-1}{x^2(1-x)^2}$$
Now if we solve $f'(x) = 0$ on $x\in[0,1]$ we will find any extremum there.
This is as easy as solving the quartic equation $-x^4+2x^3+2x-1 = 0$ because the denominator can not affect nullness of the expression unless it is 0 but as we can se from it's factorization this only occurs at the end points of the interval.
A quartic equation can be solved algebraically or numerically. I will leave the algebraic solution as an exercise.
A few Newton iterations will for example bring us the approximation for the position of minimum $x = 0.4354205446823390$. We can calculate the function value at this point $1.403669475041612$ which up to machine precision is equal to the prescribed value $\sqrt{9+6\cdot\sqrt{3}}-3$
A dampened fix point iteration also works in finding the same approximation:
$x_{n+1} = 0.5x_n + 0.5g(x_n), g(x) = ((x^4-2x+1)/2)^{1/3}$