The dot products of a vector with the vector (\hat{i}+\hat{j}-3 \hat{k}),(\hat{i}+3 \hat{j}-2 \hat{k}) and (2 \hat{i}+\hat{j}+4 \hat{k}) are 0,5 and 8 respectively. Find the vector.