Tree from inorder and postorder

please help in my code