Write the formula for the ionic compound formed from each pair of elements.

Potassium and bromine, Iron and oxygen:

Potassium and bromine: KBr

Iron and oxygen: Fe2O3