How do I dot (2t^2 -2)i and 4ti?

Is this how you do it? (4t.(2t^2 -2))i=(8t^3 -8t)i

almost. The dot product is a scalar, not a vector.

(2t^2 -2)i • 4ti = 8t^3 -8t