Area and perimeter of plane figures