A spacecraft starts travelling from Earth, moving at constant speed, towards a yet-to-be-discovered planet, which is $20$ light hours away from Earth. It takes $25$ hours (according to an Earth-based observer) for the spacecraft to reach this planet. Assuming that the clocks are synchronized at the beginning of the journey, compare the time elapsed for an Earth-based clock and for a clock in the spacecraft.
If the unprimed frame is the Earth-based observer's reference frame, then $\triangle t=25 h$ and $\triangle x=c*20h$ (I think this is what the 20 light hours means). Although, it's a little unclear from which frame the distance is measured, it seems reasonable to assume it was measured by an Earthling.
Then using the spacetime interval $(\triangle S)^2=(c \triangle t)^2-(\triangle x)^2=(\triangle S')=(c \triangle t')^2-(\triangle x')^2$. But $\triangle x'$ should be $0$, since - in my mind, anyway - the two events are the front of the ship leaving Earth, and the front of the ship arriving at the new planet. Both happen at the front of the ship.
Then $(c \triangle t')^2=(c \triangle t)^2-(\triangle x)^2$
$\implies c \triangle t'=\sqrt{(c \triangle t)^2-(\triangle x)^2}=\sqrt{c^2(25h)^2-c^2(20h)^2}=c \sqrt{(25h)^2-(20h)^2}$
$\implies\triangle t'=\sqrt{(25h)^2-(20h)^2}=15h=0.6 \triangle t$
Points of subtlety for me are where the distance to the new planet is measured from, and whether $\triangle x'=0$.