A flagpole at a right angle to the horizontal is located on a slope that makes an angle of 18° with the horizontal. The flagpole casts a 12-meter shadow up the slope when the angle of elevation from the tip of the shadow to the sun is 19°. What is the height of the pole?