Rotate vectors around vector

They are dots in space. And they are very matter.
So I understand that I need to use math to do this?