The expression is of the form: A. ln Q - A. ln w
where A is a long summation and common to both terms.
Besides A, ln Q is the other term inside the first summation (likewise, besides A, you can see that ln w is the other term in the second series).
As each summation is over the same range, then you can combine the two series in one, using just one sigma.
Then combine the terms into one making use of: ln Q - ln w = ln (Q/w)
finally remember: ln (Q/w) = - ln (w/Q)
It looks forbidding, but really isn't.
Basically, write the expression without the ∑ symbol, and simplify what you see.
EDITED