Single rotation with P's right child R (change 2 links)
Double rotation with P's right child Q (change 4 links)