Consider a window the shape of which is a rectangle of height surmounted a triangle having a height that is 1.5 times the width of the rectangle.

I think over all area will equal

A=w*h+1/2(w*h)

For the rectangle

A=w*h (obviously)

Perimeter = 2w+2h

Triangle

A=1/2w*t

Then i turned the triangle into a right triangle by cutting it in half.

and then to solve for the triangle side we have

z^2=(x/2)^2+t^2

I am not sure where to go from here