Consider again two observers account of a single tick of a light clock, except now we lay the clock on its side and analyze the distance between the two mirrors.
For the trip from the left mirror to the right we have:
From the time dilation effect, we know that