linear algebra problem solved