I will set this up for you; you will need to work through the algebra. Draw a figure!
The width of the window is 2r and the height is h.
Perimeter = 34 = pi*r + 2r + 2h => h = (1/2)[34 - pi*r - 2r]
Area = (1/2)pi*r2 + 2rh = (1/2)pi*r2 + 2rh = (1/2)pi*r2 + 2r{(1/2)(34 - pi*r - 2r)
You need to collect terms a
& set dA/dr = 0 to give you the value of r where the area is maximized.