The only thing given is that the process is done by heating up KMnO4 in order to produce oxygen.
I suppose i could write two half equations, but they specifically ask that i solve it by oxidation numbers which confuses me because I don't know how to do that when it is redused into two different oxidation numbers. The one that is oxidised is oxygen, which goes from -2 to 0