How did Madagascar form?

Can you answer this question?