If x+1x=5, find the value of x2+1x2?