added: solution to Problem 8.9