Learn how to calculate the perimeter of any polygon, including rectangles.