how do i replace delay with millis in this code

okay. so what can i do now ?