hw2 solved