Help with a puzzle mechanic.

So i added this in, so now when i press the ‘E’ key the torch and the pointlights come on.
354c239a280682eb0da7b7d84cc4aaaa774b7b0b.jpeg

I started the boolean logic but im honestly not too sure where to start as far as what to do next.
84decf6cc69e2a4d70f2a4429a3ac2e504812550.jpeg