How did Wegener use the similar mountain ranges and areas made of certain types of rock found in Africa and South America as evidence that these two continents were once connected?

How did Wegener use the similar mountain ranges and areas made of certain types of rock found in Africa and South America as evidence that these two continents class=