The light ray bends towards the normal upon entering and away from the normal upon exiting. If the opposite sides are parallel to each other and surrounded by the same material, then the angle at which the light enters is equal to the angle at which the light exits.