Perimeter of any figure is
AB+BC+CD+DE+EF+FG+GH+HI+IJ+JK+KL+LM+MN+NO+OP+PQ+QR+RS+SA
The perimeter of a figure is the sum of lengths of all sides. In other words, perimeter is the distance covered along the boundary of the figure when you go round the figure once.