An open rectangular pen uses metres of fencing for three sides; the fourth side is a straight wall. Let x be each side perpendicular to the wall.
(a)
Find the dimensions giving the greatest area.
(3 marks)(b)
Find the greatest area. Give exact answers.
(2 marks)