由已知, (E-A)X=B
(E-A,B) =
1 -1 0 1 -1
1 0 -1 2 0
1 0 2 5 -3
经初等行变换化为
1 0 0 3 -1
0 1 0 2 0
0 0 1 1 -1
得 X =
3 -1
2 0
1 -1