9709. P1. Functions. Exercise 6 Worked Solutions