Base of Subspace with vectors Let E be the vector subspace of $R^3$ generated by it vectors $v1 = (1,2,0)$ and $v2 = (-1,0,2)$
How can find a basis of E between the following vectors?
$$w1=(-2,-12,8), w2=(-12,-2,-8), w3=(-2,-3,1), w4=(1,-1,-3), w5=(6,3,-9), w6=(0,1,1)$$
I know that I have to demonstrate some effort solving the exercise first. I'm really lost with vectors and subspaces.
I tried $$a(1,2,0) + b(-1,0,2) = w1=(-2,-12,8)$$
$a = -6$
$b = 4$
$a-b=-2$ But this is not satisfied, thus $w1$ is not a basis.
I wonder if I'm in the right path, which are the conditions with the right basis? 
I have found that with $w3,w4,w6$ the three above equations are satisfied. Now what can I do with this?

This isn't an answer but this is how you can solve the problem.
The approach that I would do is as follows. We can write a matrix using the vectors that are elements of our subspace as coloumn vectors of the matrix. From what you wrote I believe this is $w_3, w_4, w_6$. So
\begin{bmatrix}
-2 & -1 & 0 \\
-3 & -1 & 1 \\
-1 & -3 & 1 \\
\end{bmatrix}
Now reduce to row echelon form and every column that has a pivot indicates the original column vector that forms a basis for our subspace, $E$. 
