Follow the link! [1]
An independently written, second solution is here: [lilit.ch/fs/exercise6.pdf]
Enjoy!