We now come to the key step of calculating the round-trip travel time, the clock tick time, from the perspective of an observer in S. This is not trivial because we know that the separation of the moving mirrors is I in the moving frame, but it is not necessarily L in the stationary reference frame. In fact, the point of this problem is to calculate the length Is of the clock in the system S. We do know that the pulse of light will travel at speed c relative to the coordinate system S. Therefore, our job is to find the time ts it takes to catch the moving mirror (which appears to be Ls ahead of the detector mirror) and return to the mirror at the end of the clock with the detector mirror.
What is the round-trip time t's? Use kinematics to express in terms of g, the velocity, and the speed of light c.