This is how Finding the cure goes in The Return of Optimus Prime and Twilight Sparkle Part 2.
[
Quintesson: Stop. Please stop.
Galvatron: Never, Quintesson. This world is ours. Optimus Prime and Princess Twilight Sparkle shall die again.
[The infected Galvatron prepares to attack when Optimus' chest opens up and the Matrix glows and Twilight's horn glows with magic as The Touch by Stan Bush plays]
You got the Touch~
Galvatron: What? What is this?
You got the Power~
[Optimus and Twilight prepare to use their powers]
Optimus Prime: Now light our darkest hour.
Twilight Sparkle: And guide us down the path of friendship.
[They fire]
[The beam hits Galvatron ridding him of the plague]
You got the Touch~
You got the Power~
When all hell's breaking loose~
You'll be riding the eye of the storm~
You got the Heart~
You got the Motion~
You know that when things get too tough~
You got the Touch~
You got the Power~
[The Matrix cures the bots infected by the plague]
Hot Rod: The wisdom of the ages. It's lost.
Optimus Prime: No, not lost. We're all a little wiser now.
Twilight Sparkle: That's right. The magic of friendship can conquer all evil.
Hot Rod: But the Matrix is empty.
Optimus Prime: It's up to all of us to fill it again—with the wisdom we accumulate from this moment on. Autobots, transform and roll out!
Twilight Sparkle: You heard him, girls, let's go!
[The Autobots transform and the ponies get in. The Autobots then drive off]