How did egg-laying creatures evolve into creatures that have “live births”?

via Vitellogenin and Common Ancestry: From Egg to Placenta —