Given and find vectors such that , is parallel to , and is orthogonal to .
Let and . Then
Since is parallel to we know there is a nonzero constant such that
From the fact that is orthogonal to we have
So putting these together we have
Therefore,