Hint 1
Choose one of the posts, and visualize a large triangle formed between the light, the spot on the floor directly under the light, and the farthest point of the post's shadow. Then imagine a smaller triangle formed between the top of the post, the bottom of the post, and the tip of the shadow.
These two triangles are mathematically similar. In other words, the larger one is proportional to the smaller one.

