Can someone explain SE section of Purchase vs. Pooling?

On CFAi page 31 and 33. I can’t understand all this addtional paid in capital business and how they got $6100 for pooling.