Moving object on local position

Hi,
I am trying to move object on local position. I have object that I turned 90 degrees on the axis(via localEulerAngles, and it works), using Instantiate I created another object that has the same rotation as the object before, now there is a problem, I’d like to move it on the x axis relative to the previous object. Tried local position, I had the following object as a parent to the previous object, but it still moves on the word position.
Thanks for any advice.

You could link it to the first object. That would make it use the first object’s local space. Or, you could use object1.right in object2.Translate. This would force it to move relative to the right (X) direction of object1.