Copyright © University of Cambridge. All rights reserved.
For the first code, try looking just at the right hand side of each image.
In the second part, the instructions give the answer away.