I don't know how to ask this question in general form so I will begin with an example. I would like to scale (and/or resize) the orange rectangle, but keep the two blue squares (1) the same size, and (2) anchored to the corners of the orange rectangle.
So, starting from here resizing the group gives (note how the blue rectangles got distorted)
when what I really want is
Is there a good way to accomplish this? Of course, if I only wanted to do this once, I can align manually. But I will need to do it often and in more complex cases. So I would like to know if there is a principled way of doing this!