A rectangular pen is to be constructed alongside a barn using 120 feet of fencing. the barn will be used for one side of the pen. What should the dimensions of the pen be to maximize its area?