trigger my relay to close

I got this book Arduino Cookbook