A vertical tower stands on a horizontal plane and is surmounted by a flag staff of height 7m. From a point on the plane, the angle of elevation of the bottom of flag staff is 30° and that of the top of the flag staff is 45°. Find the height of the tower.