Second you must know that a yardstick is 3 ft or 36 inches.
Set x as the height of the pole.
Now use the law of similar triangles as in
simplify into
Now cross multiply