The main clause is "Dolly must clean up her room" which is what the sentence is primarily about. "Before she goes out" depends on the main clause, making it the dependent clause. "Before" is the first word in the dependent clause and it is a preposition making it the word that begins the subordinate clause.