Assignment:
If a window entails a seamless glass area formed by a rectangle capped by semi-circle, if the semi-circle's diagonal and the rectangle's width coincide, and if the window's exterior perimeter is 16 feet, determine the dimensions that maximize the window's glass area.
Provide complete and step by step solution for the question and show calculations and use formulas.