How does it work?

It’s simple!

panel-1
panel-2