Let us assume base of the window = b feet.
Height is 3 feet less than base, that is = (b-3).
Given area of the triangle = 20 feet square.
We know formula for area of a triangle:
Area = [tex]\frac{1}{2}[/tex] × Base × Height
Plugging values in formula, we get
20 = [tex]\frac{1}{2} b \times (b-3)[/tex]
[tex]\mathrm{Multiply\:both\:sides\:by\:}2[/tex]
[tex]40=b\left(b-3\right)[/tex]
[tex]40=b^2-3b[/tex]
[tex]b^2-3b-40=0[/tex]
Factoring quadratic, we get
[tex]\left(b+5\right)\left(b-8\right)[/tex]=0
b+5=0
b=-5
b-8=0
b=8.
For base we can take only positive value.