The question asked is wrong, this process is called evolution not development & it did not happened as you asked ,monotremata and marsupials are both mammals
Note: There are comments associated with this question. See the
discussion page
to add to the conversation.