How can you determine if a vector in R3 span two other vectors in R3?

For example;
[Pi, -1, -1] = ([0,1,0], [0, 0, 1])

well, in this particular case, since both the "basis" vectors have zero i components, no combination of them can produce π in the result.

More generally, check your text, or try google.