please help with Q6, Q4, Q7 of
http://www.damtp.cam.ac.uk/user/examples/A5c.pdf