Refer to the diagram shown below which illustrates the problem.
From simple geometry, obtain
a = 4 cosθ
b = 4 sin θ
Therefore the area of the opening is
A = (1/2)*(2a + 4 + 4)*(b)
= (a + 4)*b
= (4a cosθ + 4)*(4a sin θ)
= 16(1+ cosθ)sin θ
This agrees with the given area.
When θ = 45°, sinθ = 1/√2, cos θ = 1/√2.
Therefore
A = 16(1 + 1/√2)*(1/√2)
= 16(1/√2 + 1/2) = 16(√2/2 + 1/2)
= 8(√2 + 1) = 19.3 in²
Answer: 8(1 + √2) in², or 19.3 in²