Example

        

Insert 2

        

The new value is in the rotator's inside subtree.

Rotate inside

        

Main rotation