How to put vectors in terms of free variables