It is easy to get that x is not equal to 0.
So divide by x or so.
Then X+ 1/X=3.
Square the formula above to get the square of x+(1of the square of x)+2 = 9.
So the square of x+the square of x 1=7.