Question 3Let $x$ and $y$ be real numbers with $x \gt y$ such that $x^{2} y^{2} + x^{2} + y^{2} + 2 x y = 40$ and $x y + x + y = 8$. Find the value of $x$.