Here's the suggested solution - as discussed in class
Here's the worked solution, as presented in class: