If $\xi$ and $\eta$ are the images of $X$ and $Y$ in the quotient ring, then $\xi^2+\eta^2=1$, so you should find two such elements in $\mathbb{R}[T,T^{-1}]$.
An nonzero element in $\mathbb{R}[T,T^{-1}]$ can be uniquely written as $T^mf(T)$, where $m$ is an integer and $f(T)\in\mathbb{R}[T]$ with $f(0)\ne0$. So suppose
$$
(T^mf(T))^2+(T^ng(T))^2=1
$$
Suppose $m\ge0$ and $n\ge0$. Then the leading coefficient of the left-hand side is positive, so the degree has to be zero, which implies $m=n=0$ and $f$ and $g$ constant.
However, the images of $\xi$ and $\eta$ should generate $\mathbb{R}[T,T^{-1}]$: contradiction.
Suppose $m<0$ and, without loss of generality, $m\le n$. Then we get
$$
f(T)^2+T^{2n-2m}g(T)^2=T^{-2m}
$$
Evaluating at $0$, we obtain $f(0)^2=0$ or $f(0)^2+g(0)^2=0$ (according to $n\ne m$ or $n=m$): in both cases it is a contradiction.