I know that
$$(\neg a \land \neg b \land \neg c) \lor (a \land \neg b \land c) \lor (\neg a \land b \land \neg c) \lor (a \land b \land c )$$
and
$$(\neg a \land \neg b \land \neg c) \lor (a \land c) \lor (\neg a \land b \land \neg c)$$
are supposed to be equal but I'm unsure how to simplify the first boolean expression past cancelling the first and last terms due to the identity rule.