Step 1: Magnesium reacts with alkyl halides in dry ether to form Grignard reagents ($R-MgX$).
Step 2: Since there are two bromine atoms and "excess" Magnesium is used, both bromine sites will react.
Step 3: The resulting product will have two $-MgBr$ groups attached to the carbon chain.