Perimeter (circumference) of a circle is (pi)(d). d = diameter.
But we are dealing with a semi circle, so perimeter of a semi circle is (1/2)(pi)(d)
If you draw the window and call the rectangle's tall sides 'h', the bottom of the window is 'd', the perimeter of the top (semi circle) is (pi)(d) / 2. Area is (h)(d) for the rectangular part and (1/2) (pi) r^2 for the semicircle. we know that r = d/2.