Complex sentence: Malaria and yellow fever were already rampant in Africa, and years of exposure in Africa rendered a great number of the incoming slaves immune to the two diseases, while others were carrier for the diseases.
Split into simpler sentences: Malaria and yellow fever were already rampant in Africa. Years of exposure in Africa rendered a great number of the incoming slaves immune to the two diseases, while others were carrier for the diseases.