Use the formulas:
\(\displaystyle \L \;P\,=\,ns\)
\(\displaystyle P\,=\,perimeter\,,\,n\,=\,#\,of\,sides\,,\,s\,=\,side\,\,length\)
\(\displaystyle \L \;A\,=\,0.5ans\,\to\,0.5aP\)
\(\displaystyle A\,=\,area\,,\,a\,=\,apothem\,,\,n\,=\,#\,of\,sides\,,\,s\,=\,side\,length\,,\,P\,=\,perimeter\)
Try something neat with these formulas.