answered
It is a metathesis or double replacement reaction yielding barium sulfate and magnesium hydroxide. The interesting thing about this reaction is that both products are insoluble in water though both reactants are soluble. Usually there is only one insoluble product, the other metathesis product is soluble.