Hydrogen (a moles) and iodine (b moles) react to give 2x moles of the HI at equilibrium. The total number of moles at equilibrium is: