Take another look at the original sentence:
You chose to fix it the correct way:
Melody tried to summon the energy to get to her next class is a main clause. Her heavy book bag and the long walk, however, seemed impossible challenges is a second main clause. A semicolon is an excellent way to join two main clauses that are closely related in meaning.