There are infinitely many different possible formal systems, each with different rules and axioms. So technically your question cannot be answered. However, here is the standard way of proving the tautology using natural deduction Fitch-style.
$\def\imp{\rightarrow}$
If $( p \imp q ) \land ( q \imp r )$:
$p \imp q$. [Conjunction elimination]
$q \imp r$. [Conjunction elimination]
If $p$:
$q$. [Implication elimination; also called Modus Ponens]
$r$. [Implication elimination]
$p \imp r$. [Implication introduction]
$( p \imp q ) \land ( q \imp r ) \imp ( p \imp r )$. [Implication introduction]
It should be a simple thing to convert this to a proof in any other reasonable formal system. The reason I present it as above is because it is so utterly natural in following our intuitive understanding (which is why it is called natural deduction).