The vectors are
.
(Write scalar multiplication form of vector)
(Substitute
)
The dot product of 3u and v is
.
(Apply dot product:
)
(Substitute
)
(Simplify)
The result of vector
is a scalar (18).