Just divide by its magnitude:
So a unit vector in the direction of is
Then multiply this by -1 to get a unit vector pointing in the opposite direction.
9.5m questions
12.2m answers