A person who is 6 feet tall walks away from flagpole toward the tip of the shadow of the flagpole. When the person is 30 feet from the flagpole, the tips of the person's shadow and the shadow cast by the flagpole coincide at a point 5 feet in front of the person. Find the height of the flagpole.