Homework P 155 ex B & D.

Please follow the example in the book and make sure to translate.