Solve for p, w = Q+P
-------
Q-QP
-------
Q-QP