The vectors are and
.
The dot product of the two vectors and
is
.
Compare the vectors with general form.
\ and
.
.
The magnitude of the vector is
.
.
The decomposition of into
and
, where
is parallel to
and
is orthogonal to
, is
and
.
Find and
.
Substitute ,
and
in
.
.
Substitute and
in
.
.
and
.