Finding the Dimensions of a Rectangle with known Perimeter