The perimeter is the sum of the length of all sides of the polygon.
[tex](1)\qquad P=5(s-2)\\\\(2)\qquad P=(5)(s)-(5)(2)\\\\(3)\qquad P=5s-10\\\\(4)\qquad P=(s-2)+(s-2)+(s-2)+(s-2)+(s-2)[/tex]