# Finding orthogonal projection of vector on space

need to find orthogonal projection of v on 2 diffrent w spaces $$v= \begin{bmatrix} 2\\ 4\\ 6\\ 8\\ \end{bmatrix}$$

1.$$w= span \begin{bmatrix} 1\\ 0\\ -1\\ 0\\ \end{bmatrix} \begin{bmatrix} 1\\ -1\\ 1\\ -1\\ \end{bmatrix}$$

2.$$w= span \begin{bmatrix} 1\\ 0\\ 1\\ 0\\ \end{bmatrix} \begin{bmatrix} 1\\ 1\\ 0\\ 0\\ \end{bmatrix} \begin{bmatrix} 0\\ 0\\ 1\\ -1\\ \end{bmatrix}$$

the answers should be vector like v (4 rows) thanks a lot.