hw6 problems