Calculate the perimeter and the area of a 2D regular figure | ScratchStats