Benedict's solution is an substance used in testing sugars. It is mixture of sodium carbonate, sodium citrate and copper(II) sulfate pentahydrate. It can be used instead of Fehling's solution in testing for the presence of reducing sugars.
Reducing sugars contain the -CHO group. If there is no colour change after the addition of Benedict's solution, then we can conclude that reducing sugars are absent.
I got this answer through stoichiometry. For every 1 mole of Mg, 2 moles of CuBr are consumed. Because of this, multiply the moles of Mg by 2. Then, convert moles to grams.