Let the dimensions of the rectangle be $x$ and $y.$
Therefore, the perimeter of window \[=\text{ }x\text{ }+\text{ }y\text{ }+\text{ }x\text{ }+\text{ }x\text{ }+\text{ }y\text{ }=\text{ }12\]
\[3x\text{ }+\text{ }2y\text{ }=\text{ }12\]
\[y\text{ }=\text{ }\left( 12\text{ }-\text{ }3x \right)/2\text{ }\ldots .\text{ }\left( 1 \right)\]
Now,