2.25: Optimising the area of a window

In this question, all lengths are in metres.
The diagram shows a window formed by a semi-circle of radius on top of a rectangle with dimensions by . The total perimeter of the window is .
(i)[2]
Find in terms of .
(ii)[2]
Show that the total area of the window is .
(iii)[5]
Given that can vary, find the value of which gives a maximum area of the window and find this area. (You are not required to show that this area is a maximum.)
