This is a tautology. So for any p, q and r it will be true.
One common way to prove is by contradiction. So assume there exits p, q and r which makes $p \rightarrow r$ false but $(p \rightarrow q) \land (q \rightarrow r)$ true. This should lead to a contradiction.
So if p, q and r makes $p \rightarrow r$ false, we get $\lnot (p \rightarrow r) \equiv \lnot (\lnot p \lor r) \equiv p \land \lnot r$, so p must be true and r must be false.
Now we have assumed p, r and q are such that $(p \rightarrow q) \land (q \rightarrow r)\equiv (\lnot p \lor q) \land (\lnot q \lor r)$ is true.
But because p must be true and r must be false we get $(\lnot p \lor q) \land (\lnot q \lor r) \equiv q \land \lnot q$, which is false by definition, so $(p \rightarrow q) \land (q \rightarrow r)$ must be false, which is a contradiction to the premises.
So there is no p, q and r which makes
$p \rightarrow r$ false AND $(p \rightarrow q) \land (q \rightarrow r)$ true.
Another way would be to establish a truth table