How do I center objects without the use of pivot?

Useful