Number of moles = mass of product / molecular mass =mass of product (MgO) / 40.3
Since the mass of MgO is not given in the question, the correct answer choice cannot be given. However, proceeding witht eh above formula will enable you to find the correct number of moles given the mass of MgO.
First of all it is important to know that a half filled orbital is particularly stable. In phosphorus all the electrons occur singly in the 3p sublevel minimizing inter electronic repulsion hence it is more difficult to remove an electron from this energetically stable arrangement. In sulphur, electrons are paired in one of the 3p orbitals thereby lowering the energy of that level due to instability caused by interelectronic repulsion between two electrons in the same orbital.