measure the sides first then times it by 2. e.g.$${\mathtt{9}}{\mathtt{\,\small\textbf+\,}}{\mathtt{3}}{\mathtt{\,\small\textbf+\,}}{\mathtt{9}}{\mathtt{\,\small\textbf+\,}}{\mathtt{3}} = {\mathtt{24}}{\mathtt{\,\times\,}}{\mathtt{2}} = {\mathtt{48}}$$. then, like my formula, the ansewer is $${\mathtt{48}}$$.