solve chap2.q0008