I was trying to solve this but hit a wall when I pluged equation 1 into 2. Here is what I did, maybe it will help you just a bit.
Spoiler:
It has been a while since I've had a math class and was having trouble solving for two variables. Here are the two equations I have:
a+b=w+x+y+z
ab=wy+wx+xz
I am trying to solve for a and b individually but am really having trouble. Am I missing something?
b = w + x + y + z - a means that a(w + x + y + z - a) = wx + wy + xz. Expanding it out gives
This is a quadratic equation in a and you can use the quadratic formula. It's going to be a terrible mess as I doubt it is going to give you any sort of "simple" answer.
-Dan