(d) Syphilis and Warts
Bacterial infections caused by unsafe sex include gonorrhoea and syphilis; viral infections include warts and HIV-AIDS.
Source: Reproductive Health, Section 7.3.3(d), Chapter 7
The passage clearly states: "bacterial infections such as gonorrhoea and syphilis, and viral infections such as warts and HIV-AIDS." So the bacterial example is syphilis and the viral example is warts — matching option (d). Students often confuse HIV-AIDS (viral) with bacterial infections; remember the category each belongs to.