in this casewe replace by and make have and as its childrenwhile maintaining the inorder relationships of the nodes in figure zig-zag(abefore(bafter there is another symmetric configuration where is right child and is left child zigx does not have grandparent (or we are not considering ' grandparent for some reason(see figure in this casewe rotate over ymaking ' children be the node and one of ' former children wso as to maintain the relative inorder relationships of the nodes in figure zig(abefore(bafter there is another symmetric configuration where and are left children