I'm currently studying logic circuits for my exams and came across a question "7. An electrical circuit is set up with four switches. A lamp will light only if the following happens: Switches A and B are both on. Either Switch C or Switch D is on, but not both. Draw a logic circuit to represent this" I made a AND gate for A and B, made an XOR gate for C and D but don't know how to close the circuit into one output as I now have two outputs. I hope you guys understand my situation and help with it, Thank you.If this is the wrong site please lead me to the correct site please.