Solution -:
We are given x^2 -2x+1 =0
1st we will solve for x , by factoring .
(x-1)(x-1)=0
x-1 =0 and x-1 = 0
x=1 and x= 1 it means we have solution x= 1
Now consider ( x+ 1/x) we will get,
x=1 we will get 1+1/1 = 1+1 =2 ( 1+1/1 means 1+1 =2)
So w e got answer 2