The reaction between lead nitrate and Potassium Iodide is known as the detonation reaction.
The balance of the coefficients on the reactants and products side is referred to as a balancing chemical equation.The chemical equation obeys the law of mass and momentum.
The coefficients that are to be added must be a whole number and one coefficients added applies to all the atoms present in that one particular molecule.
Adding 2 iodine on both sides makes it balanced.Next will be nitrogen and oxygen.Adding 2 KI makes the equation balanced.
The same trial and error procedure is used to balance oxygen 3 O2 and we have 6 oxygen atoms on the reactant side.