Forget about graphics and drawings. If you're in a box and you emit light from the centre of the box, it will reach the centre of each wall at the same time. You don't need a diagram, what you need is a light source and some detectors and timers.
If the box is in motion, this will have no effect at all on the times or the distances. This also assumes that the box is 'rigic' and retains its shape and volume at all times. And it assumes you know where the centre of the box is.
You can't use this method to determine if the box is in motion, because that requires an external reference; the source is not external to the box.
It's a simple matter of assuming the speed of light is constant, the distances from the source to the walls are equal and do not change, and all clocks are synchronised.