Starting from above , English is between History and Mathematics i.e. H, E, M.
History is between Mathematics and English i.e. H, E, M, H, E.
Hindi is between English and Mathematics i.e. H, E, M, H, E, Hi, M.
Mathematics is between two Hindi books i.e. H, E, M, H, E, Hi, M, Hi.
Two Hindi books are between Mathematics and History i.e. H, E, M, H, E, Hi, M, Hi, Hi, H.
Clearly, Hindi book is at sixth position from top.