The subscript in symbol equations within chemistry represents how many atoms there of that element within the compound or molecule. So your equation is magnesium bromide(2) essentially meaning it is a compound consisting of 1 magnesium atoms and 2 bromine atoms attached to it (bound with).