The correct explanation for the existence of Mesosaurus fossils in both Africa and South America is:
The Earth’s continents were once joined together.
This supports the theory of continental drift, which explains how similar species could exist on widely separated continents.