how to combine the relay and delay functions?

Top