T= The time it takes for the flower pot to pass the top of my window.
V= The velocity of the flower pot at the moment it is passing the top of my window.
X= The height above the top of my window that the flower pot was dropped.
h = Lw + X
Lw = (1/2)*g*t^2 + V*t
V*t = Lw - (1/2)*g*t^2
V= Lw/t - (1/2)*g*t , On the other hand we know : V=gT.
Therefore we will have: Tg= Lw/t - (1/2)*g*t
T= Lw/(tg) - t/2
Now substitute for T in the following equation: X = (1/2)*g*T^2
X= (1/2)*g*(Lw/(tg) - t/2)^2
Now substitute for X in the very first equation I mentioned: h = Lw + X
h = Lw + (1/2)*g*(Lw/(tg) - t/2)^2
In case you wanted the answer to be simplified, then:
h= (Lw^2)/(2*g*t^2) + (g*t^2)/8 + Lw/2