Length contraction from the point of view of a spacecraft at rest $$B'$$. From its point of view, the two planets (Earth and Alpha) are moving to the left with the velocity $$v$$. The distance between the Earth and the planet Alpha is $$\Delta x'$$. According to the clock inside the spacecraft the spacecraft needs the time $$\Delta t'$$ to cover this distance.