Resistance to which of the following drugs develops when microbes deviate from the usual pathway that leads to the production of folic acid?
1. erythromycin
2. trimethoprim
3. cephalosporins
4. sulfonamides
5. aminoglycosides