solutions to problem set 8 1218782