Let $W$ the subspace of $\mathbb{R}^3$ that is spanned by $w_1=(1,-1,0)$, $w_2=(1,1,2)$ and $p=(x,y,z)$ the projection of the vector $v=(-1,1,2)$ onto $W$. What is the number $2x+7y+3z$ equal to?
I got that
$$(x,y,z)=(-1,1,2)- \left( \frac{(-1,1,2) \cdot (1,-1,0)}{(1,-1,0) \cdot (1,-1,0)}(1,-1,0)+\frac{(-1,1,2) \cdot (1,1,2)}{(1,1,2) \cdot (1,1,2)}(1,1,2)\right)=\left( -\frac{2}{3},-\frac{2}{3}, \frac{2}{3}\right)$$
Then $2x+7y+3z=-4$. But this isn't a possible answer.... Have I done something wrong?