Rotate one game object based on translation of another game object

Hello all, I have 2 game objects, say object 1 and object 2. object 1 is a tractor having so many linkages and object 2 is an implement attached to the tractor (plough). I want certain links in object 1 to rotate about their own local coordinates when object 2 translates in x direction and also in y direction. if object 2 moves along x axis, the links should rotate about their y axis and when object 2 moves along y axis, the links should rotate about their x axis. How do I achieve this in unity???

You could use Joints