When reflecting back from the mirror, the light must take a path along the hypotenuse of an imaginary triangle to reach the primed observer.