notice the picture below
keep in mind, the sun, is hitting both the stick and the pole, at the same angle, thus, making and angle of elevation with the ground, the same for both
so, notice the "red" angles, thus the triangles are similar by AA
solve for "x"