Here's another way to look at propositional logic questions, which can be especially useful if you are interested in computer science at it allows you to gain some exposure to examples of binary functions.
We can represent $p$ and $q$ by bits (taking on the value of either 0 or 1), where the case $p=1$ corresponds to the statement that $p$ is true, and the case $p=0$ similarly means that $p$ is false.
If we consider two bits $p$ and $q$, then we can analyze the truth value of propositions like $p \wedge q$ or $p \rightarrow q$ by creating binary functions (i.e. we evaluate the value of the function modulo 2) that take $p$ and $q$ as input. Then, given truth values of $p$ and $q$, we can evaluate our function to tells us whether the desired proposition is true or false.
For example, consider the proposition $\neg p$. This can be associated with the function $1 + p$ where we take our sum modulo 2, as if $p=0$, then $1+p = 1$, and if $p=1$, $1+p = 0$ when taken modulo 2 (which we will do without saying in the rest of the examples).
To denote the association between a proposition and a binary function, we will use the symbol $\sim$. Therefore one would say that $\boxed{\neg p \sim 1 + p}$.
In order for a proposition to be a tautology, we need that the corresponding function always evaluates to 1, regardless of the input values. Now we will explain the building-block functions that we will need to use in order to discuss the function associated with the proposition $[p \wedge (p \rightarrow q)] \rightarrow q$.
First let's think about $p \wedge q$. If we consider the function $pq$, then we see that $pq = 1$ if and only if $p=q=1$. Analogously, the proposition $p \wedge q$ is true if and only if $p$ is true and $q$ is true, so we see that the value of the binary function $pq$ corresponds to the truth value of the proposition $p \wedge q$. Thus we have $\boxed{p \wedge q \sim pq}.$
Similarly, for $p \vee q$, we can find the associated function $p + q + pq$. To confirm this, we see that $p + q + pq = 0$ only when $p = q =0$, whereas otherwise $p+q+pq$ will return the value 1 when taken modulo 2. We then write that $\boxed{p \vee q \sim p + q + pq}$.
Now, for the proposition $p \rightarrow q$, we can use its equivalent characterization as $\neg p \vee q$ in order to find the associated function $$(1+p) + q + (1+p)q = 1 + p + 2q + pq = 1 + p + pq \Longrightarrow \boxed{p \rightarrow q \sim 1 + p + pq} $$ where we used the fact that $2x = 0$ for a binary variable $x$ because $2x = 0$ modulo 2 for both $x=0$ and $x=1$.
Now we can put things together. We see that the product $$p (1 + p + pq) = p + p^2 + p^2 q = p + p + pq = 2p + pq = pq$$ where we used the fact that $x^2 = x$ for binary variable $x$, and therefore we see that $$p \wedge (p \rightarrow q) \sim pq $$
Now, to find the associated function for $[p \wedge (p \rightarrow q)] \rightarrow q$, we consider the expression $$1 + (pq) + (pq)(q) = 1 + pq + pq^2 = 1 + 2 pq = 1 $$ so we have that $$\boxed{[p \wedge (p \rightarrow q)] \rightarrow q \sim 1} $$ and we have verified that our proposition is a tautology.