area and perimeter of a rectangle