\documentclass[preview]{standalone}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{cancel}\n
\setmainlanguage{english}
\setotherlanguage{hindi}
\setmainfont[Script=Devanagari]{Noto Sans}
\usepackage{amsmath}
\usepackage{amssymb}