A complex sentence is a sentence with an independent clause and a dependent clause.
The answer is
4 and 5.
I'm pretty sure it's a dependent clause. Hope this helps!
The parts of speech are the category to which a word is assigned based on its context and use in a sentence. The main categories consist of noun, pronoun, adjective, determiner, verb, adverb, preposition, conjunction, and interjection.