Substituting the rate law into the mole balance:
Substituting stoichiometry into the equation: