I seem to have found a solution intuitively.
Not sure why, but it worked.
So, I am creating a circular array as you said.
At the same time, I had to make the rectangle a little higher in height.
And then I scale it horizontally to the outer border of the balls... and all the rectangles are located exactly opposite the balls.
Now I can trim off the extra length of the rectangles - the orange ellipse and the green circle.
It seems to have worked out as it should!
The only thing is that after trimming the rectangles will no longer be rectangles. In my case, this is insignificant, but if these are curves of a different shape, this method will no longer work, alas ..

|