Track pivot

Hello

I would like to have an object follow the same path as another object.

How can I do this.

kindest regards
Ben