So, I am relatively new to the concept of vectors. I'm not to sure on how to "project a vector", as shown below.
For $\textbf{v} = \begin{pmatrix} 7 \\ 4 \end{pmatrix}$ and $\textbf{w} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}$, compute $\text{proj}_{\textbf{w}} \textbf{v}$.
And... For $\textbf{v} = \begin{pmatrix} -10 \\ 6 \end{pmatrix}$ and $\textbf{w} = \begin{pmatrix} 15 \\ -9 \end{pmatrix}$, compute $\text{proj}_{\textbf{w}} \textbf{v}$.
These questions are virtually the same, but I don't know how to calculate the projections, thanks!