Question 23Given that $x=\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+x}}}}}}$, find the value of $x^4-x^3-x+1$.