added: solution to Problem 3.9