You "distributed" the negation inside the parenthesis. Let's focus on the part.
We can distribute the negation inside the parenthesis by negating every term, and switching and with or, and vice versa. So, you have
Of course, writing is improper, I was just stressing the fact that we distributed the negation to every term in the parenthesis. So, since a double negation cancels out, you're left with
which of course implies that
Edit: I actually derived the expression in the opposite order, but since they are equivalent, it doesn't really matters where you start from and where you get to. Anyway, if you actually want to derive from , you simply have to negate the first parenthesis and distribute the negation as discussed.