Probably easiest to convert everything to moles, then using the balanced equation find out how much excess Mg(OH)2 remains. I.e. how much Mg(OH)2 do you need exactly to react with the amount of H2SO4, and subtract that value from the amount of Mg(OH)2 you have