x+ 2y+ 3z+ 4u=20 (1)
-x + 5 y +2 u=13 (2)
x+ y+ z+ u =10 (3)
-x+y-z+u= -2 (4)
Add (3) and (4) → 2y + 2u = 8 → y + u = 4 → y = 4 - u (5)
Sub this into (2)
-x + 5(4 - u) + 2u = 13 → -x + 20 - 5u + 2u = 13 → -x - 3u = - 7 → x + 3u = 7 → x = 7 - 3u (6)
Subbing into (1) and (4) for x and y we have the following system ;
[7 - 3u] + 2(4 - u] + 3z + 4u = 20
[3u - 7] + [ 4 - u] - z + u = -2
Simplifying both of these, we have
-1u + 3z = 5 (7)
3u - 1z = 1
Multiply the top equation by 3 and add to the bottom, and we have
8z = 16 → z = 2
Subbing this into (7), -1u + 3(2) = 5 → -1u = -1 → u = 1
Subbing this result into (6), we have x = 7 - 3(1) = 4
And subbing u = 1 into (5), we have y = 4 - 1 = 3
So
{x , y, z , u } = { 4, 3, 2, 1 }
