[tex]\bf \begin{array}{|c|ll} \cline{1-1} \textit{a\% of b}\\ \cline{1-1} \\ \left( \cfrac{a}{100} \right)\cdot b \\\\ \cline{1-1} \end{array}~\hspace{5em}\stackrel{\textit{40\% of 40}}{\left( \cfrac{40}{100} \right)40}\implies 16 \\\\[-0.35em] \rule{34em}{0.25pt}\\\\ ~\hfill\stackrel{\textit{new price}}{40-16}~\hfill[/tex]