Solving through rationalization:
Given, x=√5−2√5+2
Rationalizing the denominator,
x=√5−2√5+2×√5−2√5−2
x=(√5−2)2(√5)2−(2)2
x=(√5)2−2(√5)(2)+(2)25−4
x=5−4√5+41 =9−4√5 ...(i)
Take (i) as equation 1.
Now,
1x=19−4√5×9+4√59+4√5
1x=9+4√5(9)2−(4√5)2
1x=9+4√581−80
1x=9+4√5 ...(ii)
Take (ii) as equation 2.
Now, from (i) and (ii), we get that
x+1x=9−4√5+9+4√5
∴Answer =18