Here is a suggested solution to the written exam. You can also examine two sketched figures for question 1b and 1c.