Ex 1.17

Solution to Ex 1.17