During meiosis, 4 daughter cells are produced.
In the diagram, you have TWO pairs. When they seperate, you will be left with the four genotypes.
Now, crossing over occurs between ABG and abg. There is a line saying where they cross over, meaning that they switch some of their genetic material.
When that occurs, the LEFT pair will have ABG and abG. The RIGHT pair will have ABg and abg. This is due to the switch, or cross.
Then random segregation occurs and they seperate.
So you are left with the genotypes ABG, abG, ABg and abg.