having trouble with this question... if anyone could give me a hint on where to begin that would be lovely.
Let the set of vectors $U= \{u_1,u_2\}$ $\space$ when $u_1 = (1,a,2)\space $and$\space u_2=(a,1,0) $
and also $V= \{v_1,v_2\}$ $\space$ when $v_1 = (-3,0,2)\space $and$\space v_2=(3,3,a) $
for which $a$ values will $U$ and $V$ span the same space?
Hints:
It is enough and necessary that $\;u_i\in\text{Span}\{v_1,v_2\}\;,\;\;v_i\in\text{Span}\{u_1,u_2\}\;$ (and you can save yourself some work if both sets are linearly independent. Can you see why?).
Anyway:
$$(1,a,2)=\alpha(-3,0,2)+\beta(3,3,a)\iff\begin{cases}&-3\alpha+&3\beta=1\\&&3\beta=a\\&2\alpha+&a\beta=2\end{cases}$$
From the first two equations we get
$$\beta=\frac a3\;,\;\;\alpha=\frac{a-1}3$$
and then 3rd equation gives
$$\frac23a-\frac23+\frac{a^2}3=2\implies a^2+2a-8=0\iff (a+4)(a-2)=0$$
Take it from here.