You have 300 meters of fencing with which to build two enclosures. One will be a square, and the other will be a rectangle where the length of the base is exactly twice the length of the height. Give the dimensions of the square and rectangle that minimize the combined area.