post HW1 solution sketch