How is:
$P \lor ¬Q \lor P \land ¬Q$
Factorised to get:
$P \lor ¬Q \land (1 \lor P)$
I've been staring at it all weekend. I understand what factorisation is and can do it in math.
I tried expanding it to get:
P v ¬Q ^ v P v ¬Q ^ P
It makes no sense.
I would recommend to use $+$ in place of $\vee$, a product with no symbol instead of $\wedge$ and $\overline{Q}$ instead of $\neg Q$. Now, using commutativity, associativity, the rule $1 + x = 1$ and the distributivity law $a(b + c) = ab + ac$, your two expressions become \begin{align} P + \overline{Q} + P\overline{Q} &= P + P\overline{Q} + \overline{Q} = P(1 + \overline{Q}) + \overline{Q} = P + \overline{Q}\\ P + \overline{Q}(1 + P) &= P + \overline{Q} \end{align}