How to scale a midi track

I’ve recorded a track on midi, but it turned out I played it too fast.
I want to “scale” it so the notes will not only be longer but farther away from each other, thus the midi track will be “slower”. I don’t want to slow the entire piece because it’s just that one part I played too fast.
How do I do it?

Check this out: