Let a=1,2,2\displaystyle \vec{{a}}={\left\langle-{1},-{2},{2}\right\rangle} and b=5,0,1\displaystyle \vec{{b}}={\left\langle-{5},{0},-{1}\right\rangle}.
Find the component of b\displaystyle \vec{{b}} onto a\displaystyle \vec{{a}}.