How the inverted image is formed?

How the inverted image is formed?