(1-a1-a2 ; a1 ; a2 ; 0)
(b1 ; 1-b1-a2+c2 ; 0 ; a2-c2)
(b2 ; 0 ; 1-b2-a1+c2 ; a1-c1)
(0 ; b2+c2 ; b1+c1 ; 1-b1-c1-b2-c2)
all 4 rows equal 1 and the variables to be found (going across the rows) are w, x, y and z.
When I tried to solve the first determinant I got 4 brackets with 3, 4, 4 and 5 elements in and the multiplying out got too confusing so I am not sure if it was right or not.