If a[1 0 1] + b[0 0 0] + c[0 1 0] = [0 0 0], then a, b, and c don't all have to be 0. For instance, a = 0,
b = 2, and c = 0 works. So, W2 is not a linearly independent set. Therefore, W2 is not a basis of R3.
-----------------------------------------------------------------------------------------------------------------------------------------------
If a[1 0 0] + b[1 1 0] + c[1 1 1] = [0 0 0], then
a+b+c = 0
b+c = 0
c = 1
So, a = b = c = 0. Therefore, W1 is a set of 3 linearly independent vectors in the 3-dimensional set R3. So, W1 is a basis of R3.