There's a good Train thought experiment, different to the one you asked, but it is easy to understand and is simply the observations between a man on the train and a man off the train.
The man sits on a train, it is travelling at c. It travels to the right. In the train, there is: A light in...