Lv img pivot mastering

hello everyone. ive faced some problems wtih image rotation
there is some constuction that consists of several rectangles.
(let call it a snake of 4 segments)
lets say there are 4 segments called a b c d
how to connect segments ? so if i change angle between b and c - this must affect on segment d
all construction must work as chain.

seems i need some sort of reallign method to tie 2 objects relative coordinates