add some sultion to problem 5.17-5.17