Note: AB measured in the moving frame will be constant of: 149.896,229 km as the measuring rod also will be length contracted in the moving frame.
Example showing the problem


Note: AB measured in the moving frame will be constant of: 149.896,229 km as the measuring rod also will be length contracted in the moving frame.