Answer:
A compound-complex sentence has at least two independent clauses and at least one dependent clause.
Having this in mind, the compound-complex sentence here is the first one - While they were walking on campus, Dwayne admired the buildings, and Michelle imagined attending classes in this beautiful place.