\[w=P\begin{Bmatrix}0&1&\infty&\\
0&0&a&z\\
1-c&c-a-b&b&\end{Bmatrix}\]