Finish hw2 in linear algebra course