While deriving the relation between $K_a$ and $K_b$ in ionic equilibrium topic, say I take an example of
$$ \ce{NH4+ + H2O -> NH3 + H3O+} \tag{1}\label{1} $$
The $K_a$ of this reaction is:
$$ \frac{\ce{[NH3][H3O+]}}{\ce{[NH4+][H2O]}} $$
Now $\ce{NH3}$ is a conjugate base of $\ce{NH4+}$. Its $K_b$ can be written as:
$$ \ce{NH3 + H2O -> NH4+ + OH-} \tag{2}\label{2} $$
$K_b$ of the reaction:
$$ \frac{\ce{[NH4+][OH-]}}{\ce{[NH3][H2O]}} $$
In my textbooks while deriving relation between $K_a$ and $K_b$, it added the two equations. In the addition of two equations we get:
$$ \ce{NH4+ + 2H2O + NH3 -> NH3 + NH4+ + H3O+ + OH-} \tag{1 + 2}\label{1p2} $$
My textbook cancelled out both the $\ce{[NH4+]}$ and $\ce{[NH3]}$ concentration terms from the LHS and RHS. $\ce{[NH4+]}$ on the LHS is from equation $\eqref{1}$ and $\ce{[NH4+]}$ on the RHS is from equation $\eqref{2}$.
My question is, how can we cancel them out? How can you say the $\ce{[NH4+]}$ formed from hydrolysis of $\ce{NH3}$ in reaction $\eqref{2}$ is equal to that of $\ce{[NH4+]}$ initially taken in reaction $\eqref{1}$? Even if you initially take same concentration of $\ce{[NH3]}$ for reaction $\eqref{2}$ as formed from reaction $\eqref{1}$, that concentration of $\ce{NH3}$ on hydrolysis can never give same concentration of $\ce{[NH4+]}$ as initially taken in reaction $\eqref{1}$. Then, how can you cancel these different $\ce{[NH4+]}$ concentrations when you are adding reaction $\eqref{1}$ and $\eqref{2}$?