Got the following equation, the number of moles oxygen gas needed to react with 4.00 mol Mg is ___. I picked B but I’m not sure if it’s correct

For this question, we should use the stichiometry of the reaction:
So, given that we have 4 mol of Mg:
So we actually need 2 moles of O2.