Given there are 3 logical variables $p$, $q$ ,$r$. Show that $(p \rightarrow q) \land (q \rightarrow r) \rightarrow (p \rightarrow r)$ is a tautology
And here is my steps: $\neg(p\rightarrow q) \land (q\rightarrow r) \lor (p\rightarrow r)$
What should I do in order to get rid of it? ps: I am studing from Discrete mathematics and its application 7th edition rosen thanks