How to align pivot points with pivot points of different objects
You can use 3D cursor to set your object origin.


Select your desired object, shifts to set cursor to selected.





Select back your object, search set origin (or menu > object > set origin). Origin to 3D Cursor