Optimization or Perimeter and Area