If x−1x=−1, find the value of x2+1x2.
If x2+1x2=23, find the value of x3+1x3 if x is a positive integer.