You can start by defining what P_w is. And the x_i. Since the right hand side is independent of w and the left hand side is not, then it cannot be correct as written. (The dual observation also holds: the LHS is independent of the x_i and the RHS is not.)