A tower is located 325 ft from a building. From a window in the building, an observer notes that the angle of elevation to the top of the tower is 40 degrees and the angle of depression to the bottom is 30 degrees. How high is the window? How tall is the tower?