Question 7Given that $a>0$, $x_n=a^n-\frac1{a^n}$ where $n=1,2,3,\ldots$. If $x_1=3$, find the units digit of $x_{2017}$.