I have a formula: $p \wedge \neg q \implies q \vee \neg p $, and i have calculated a truth table as follows:
$$\begin{array}{c} p&q&\text{Formula}\\ \hline 0&0&1\\ 0&1&1\\ 1&0&0\\ 1&1&1 \end{array}$$
Somehow, they found an equivalent formula to be $ \neg p \vee q$. But I am not sure how they achieved this. Thanks for the help.