Area & perimeter on the coordinate plane