Simplifying $(p ∧ ¬q) ∨ (p ∧ q) ∨ r$ I'm trying to solve exercise from Thomas Koshy "Discrete Mathematics and it's Applications" where I need to simplify next expression:
$(p ∧ ¬q) ∨ (p ∧ q) ∨ r$
I tried to use Distributive laws in almost any variation of it but end up with a mess and only make expression more complex.
Maybe someone can help me find the right way to simplify it correctly?
Thanks in advance!

According to the distributive law, the proposed expression is equivalent to:
\begin{align*}
(p\wedge\neg q)\vee(p\wedge q)\vee r & \Longleftrightarrow (p\wedge(\neg q\vee q))\vee r\\\\
& \Longleftrightarrow (p\wedge t)\vee r\\\\
& \Longleftrightarrow p\vee r
\end{align*}
where $t$ denotes a tautology.
Hopefully this helps!
