Using distributive law: ¬(p ∨ (¬p ∧ q)) =¬((p ∨¬p)∧ (p∨q)), equals ¬(1∧(p∨q))=¬(p∨q), using DeMorgan's Law
¬(p∨q)=¬p∧¬q , hence the equivalence is true