The questions could only come from
lecture 10
and/or
lab 8
.
Here
's GD.pm used in real life.