How can i fix this with constraints

I just tried, and the transformation constraint should do it.

https://docs.blender.org/manual/en/latest/animation/constraints/transform/transformation.html