Answer
See answer with explanation below.
Work Step by Step
O2 is a covalent compound because it is bonding between the same atoms.
MgCl2 is an ionic compound because it is a bond between a non metal and a metal.
BrO2 is a covalent compound because it contains that O2.