A vertical tower stands on a horizontal plane and is surmounted by a vertical flag staff of height 5 meters. At a point on the plane, the angles of elevation of the bottom and the top of the flag staff are respectively 30° and 60°. Find the height of the tower.