Case 2 if current node right subtree is null

traversal it's ancestry till the node is left child of a node, return the parent
of that node