A farmer has 200 feet of fencing to construct a rectangular pen up against the straight side of a barn, using the barn for one side of the pen. The length of the barn is 150 feet. Determine the dimensions of the rectangle of maximum area that can be enclosed under these conditions. (Hint: Be mindful of the domain of the function you are maximizing.)