The image shows two scenarios:

The details are described in the text preceding the image.