chatpter 2 problem B