sample pivot with set driven keys... not too carefully done, but should give the general idea. Rotate the front_group along Y to see it's affect on the rear group.