Need help with delay function

Thank you for the assistance. Lots of reading to do to fully understand it