Moving elements with dynamo

Hello,
I’m working on a script that would move the beams by the vector.
Assumptions:
image

I want them to move by the given vector relative to the starting point.

Here`s what i created:

I also tried this, however it doesn’t work

However, maybe it is possible for the beams to shift in relation to the local coordinate system? I am asking because now you have to switch nodes so that individual beams move in relation to the starting point.

I found a solution that works for me.
Maybe it will help someone