ZIG-ZAG [00UJ]

If p is a left child and x a right child, or vice versa, first rotate around p \to x and then around g \to x.