Preliminary solutions for Exercise 5