Complex sentence: In both of these cases, transactional sex presents an increased risk of HIV infection, and is a factor in the spread of AIDS in Africa.
Split into simpler sentences: In both of these cases, transactional sex presents an increased risk of HIV infection. As a result, transactional sex is a factor involved in the spread of AIDS in Africa.