Proportion of light in a window

A window is in the form of a rectangle surmounted by a semicircle. The rectangle is of clear glass, whereas the semicircle is of tinted glass that transmits only one-fourth as much light per unit area as clear glass does. The total perimeter is fixed. FInd the proportions of the window that will admit the most light. Neglect the thickness of the frame.

Now i am thinking the solution to this is something along the lines of:

(length by breath, where the length is equal to the diameter)

When this is simplified, i am getting

Is that a logical process to approach this??