Create tree( Using Preorder and Inorder)

How to print in Order given in Output format ??
which traversal technique should be used ??

u are required to print the left data , data of root , right data
in case either of the data does not exits then NULL is printed

preorder is done on it