The compounds that would be formed are MO and MBr₂:
Here is a simple approach to find them molecular formula of the compounds.
Every atom has combining power which illustrates the number of electrons usually lost, gained or shared by atoms of elements during chemical combinations.
Electromagnetic cranes are used to separate copper from iron in a scrap yard. The current is switched on to energies the electromagnet and pick up the iron pieces from the scrap. Then these iron pieces are moved to another position, the electromagnet in switched off and the iron pieces are released.