Sample solutions for HW6