to goat circle 50 fd 90 rt 90 fd 90 rt 90 fd 90 rt 90 fd 90 rt 90 rt 90 rt 80 rt 90 rt 90 rt 90 fd 90 rt 90 rt 90 end to cow repeat 8 [ goat ] end to dog repeat 3 [ cow ] end dog