An easier way to combine the simple gas laws is the following. We take Boyle's, Charles' and Avogadro's laws:
$$PV=k_1(n,T),\quad \frac{V}{T}=k_2(n,P),\quad \frac{V}{n}=k_3(T,P),$$
where $k_1,k_2,k_3$ are constants that depends on the fixed value of $n$, $T$, or $P$.
Now, from Boyle's and Charles's laws we have
$$V=\frac{k_1(n,T)}{P}=Tk_2(n,P)\iff \frac{k_1(n,T)}{T}=Pk_2(n,P)$$
In the left hand side of the last equation, all the terms are function of $n$ and $T$ only, and in the right hand side all the terms are function of $n$ are $P$ only. Thus, both terms have to be equal to a constant $C_1(n)$:
$$ C_1(n)=\frac{k_1(n,T)}{T}\iff k_1(n,T)=C_1(n)T\implies V=\frac{C_1(n)T}{P}$$
With the same argument, we can combine this last equation for $V$ with Avogadro's law:
$$V=\frac{C_1(n)T}{P}=nk_3(T,P)\iff \frac{C_1(n)}{n}=\frac{P}{T}k_3(T,P)$$
and both sides of the equation have to be equal to another constant $C_2$:
$$\frac{C_1(n)}{n}=C_2\iff C_1(n)=nC_2\implies V=\frac{nC_2T}{P} $$
Changing the name of $C_2$, we have the magnificent:
$$PV=nRT$$