gram-schmidt orthogonal basis

I have a question asking for an orthogonal basis for the subspace, S, of R^3 spanned by the two column vectors:

[-1;0;3] and [2;1;-1]

Im pretty sure the only method im am allowed to use is the gram-schmidt method

(I don't know how to write vertically sorry.)

Thanks..but thats not all =0

OK u proved my method that i used correct..but in my working i put a negative in 1 of the vectors..oops..but yes your answer is correct..also how do you decide which vector to use as X1? as if you use the other 1 you get a different answer..

however..the question is longer:

do either of the vectors: p=[3;2;-3] and q=[5;4;5] belong to S...if so write the vector in terms of the orthogonal basis vectors...

this is where i really got lost..