Hey, how do I recognize a peroxide based on the reaction equation?

Hey, we were supposed to determine the oxidation numbers of certain molecules in a reaction equation. We learned that the oxygen atoms in a compound have an oxidation number of -2. The exception to this is a peroxide, where the oxygen atom would then have an oxidation number of -1. My question now is, how…