Open Question: How long will certain drugs be in your system?

I have a friend from work who may be getting drug tested soon and he wanted me to figure out how long certain drugs will stay in his system. some of which include Dimethyltryptamine (DMT), Heroin, Opium, and Cocaine.