I need help with this question I can’t seem to get the correct answer or it’s off by a few numbers

Given:
The number of sides is n = 7.
The length of the apothem is r = 4.0cm
The perimeter is P = 27.3 cm.
To find:
The area of the heptagon
Explanation:
The formula of the perimeter of the heptagon is,
[tex]\begin{gathered} P=7s \\ 27.3=7s \\ s=\frac{27.3}{7} \\ s=3.9cm \end{gathered}[/tex]The formula of the area of the heptagon is,
[tex]\begin{gathered} A=\frac{1}{2}\times n\times r\times s \\ A=\frac{1}{2}\times7\times4\times3.9 \\ A=54.6cm^2 \end{gathered}[/tex]Final answer:
The area of the heptagon is 54.6 square cm.