Combining two sketches, help!

APieceOfToast:
neither program works.

The code does something. You're expecting it to do something else. Posting those two pieces of information is how you get help. Saying "it doesn't work" isn't how you get help.

My first thought, though is that you shouldn't be using delay() in your blink code and be using code from the Blink Without Delay example.