Logic

Credit to Samspratt.com for the images.