Light clock
We know that the spaceship will travel 1/2 r t'  while the blink of light is heading up toward the mirror, and another 1/2 r t'  while the blink of light is heading down toward the base of the pole. So that calculation gives us the length of line b in the chart. We know a, so we can figure out h by the Pythagorean theorem: