A rectangular garden is to be enclosed by a fence with a fixed perimeter of metres. Let the length of the garden be metres and the width be metres.
(a) Express the area of the garden as a function of .
(b) Find the value of that maximises . Verify that this gives a maximum using the second derivative test.