I did work out question 3 by myself.

 

Here are my recorded file and script. Plz check this when you have time. :->

 

Thank you very much!