Algebraic Expressions in Perimeter of Polygons