Answer :
the first sentence is an independent clause, harry potter is the subject and going to hogwarts is the verb. the third sentence is the other independent clause, the train ride being the subject and was easier than expected is the verb