Vectors involving dot product and cross product