The vectors are
and
.
The dot product of the vectors
and
is
.
The dot product of the vectors
and
is

.
The dot product of the vectors is
.
Angle between the vectors is
.
The magnitude of vector
is
.

The magnitude of vector
is
.

Substitute
and
and
in
.

.
and
.