press the green flag and you will work the rest out
I did this as part of a school lesson but I added stuff