solution of elementary linear algebra