Gaussian elimination
using Gaussian elimination or any other method for solving matrix equations.