If p(x)= x square - 3x+1 then find the value of x+1/x

Vyshnavi's image