The sum of the interior angles of an [tex]n[/tex]-gon is
[tex]180^\circ(n-2)[/tex]
So if the total is 5400 deg, then
[tex]5400^\circ=180^\circ(n-2)\implies n-2=30\implies n=32[/tex]