Actually, no marsupials lay eggs. The premise of the question is incorrect.
The platypus and the echidna are egg-laying mammals, but they are monotremes, not marsupials. The platypus is a semi-aquatic mammal endemic to eastern Australia and Tasmania. It is one of five extant monotreme species. The echidna is the other living member of this egg-laying group.
Marsupials, such as kangaroos, koalas, and opossums, give birth to relatively undeveloped young that continue to grow in a pouch. They do not lay eggs.