Chapter 1, Section "Spawning the Aliens"

On page 122, I was typing the scripting code to spawn the aliens. I am unsure how the code is to be typed, such as which code needs to be entered into the curly brackets or start a new line. Can someone assist me in showing me how the code needs to be written. Thank You!