When it comes to the reaction with acids, we're going to say peroxides react with acids to produce hydrogen peroxide instead of water. Superoxides produce oxygen in addition to hydrogen peroxide. So if we take a look here, we have our peroxides, We have sodium peroxide reacting with hydrochloric acid. It forms our salt, and because it's a peroxide, it also produces hydrogen peroxide.
To balance it, we put a 2 here and 2 here. With superoxides we're reacting with an acid, again in the form of nitric acid. Now we produce our salt or ionic compound in the form of potassium nitrate and we produce hydrogen peroxide. And because it is a superoxide, we also make oxygen gas balancing this out. We put a 2 here, here and here.
So this represents the types of reactions that occur when we have a peroxide or superoxide reacting with an acid.