6. (20%) Let $S$ be spanned by $x1^T = [1, 1, 0, -1]$ and $x2^T = [0, 1, 1, 1]$; the vector $y$ is defined by $y^T = [1, 2, -1, 1]$. Find vector $z1$ and $z2$ such that $y = z1 + z2$ where $z1$ is in $S$ and $z2$ is in $S^\perp$.