I know this is fairly basic, and I understand that it becomes $$ \begin{align} (A \land \lnot A) \lor B \\ F \lor B \\ B \end{align} $$
However, I can't work out how to prove that it becomes that first line. It seems intuitive, but I cannot work out which laws let me simplify it like that.
This is from a previous homework, and the above equation is the correction I was given, and I can't remember exactly how it was produced.
The first line follows from distributivity: $$(X \wedge Y) \vee Z = (X \vee Z) \wedge (Y \vee Z)$$ Think what $X$, $Y$ and $Z$ are in this scenario.