Area and Perimeter of Triangles and Regular Polygons