solution for problem set 1 992546