Finds area and perimeter