Complex sentence: Brian visits Peter, notices that he is doing crack, and tells him that crack isn't a good substitute for drinking.
Split into simpler sentences: Brian visits Peter and notices that he is doing crack. Brian tells him that crack isn't a good substitute for drinking.