Relationship between area and dimensions of a rectangle