Whenever you're ready, walk me through how you'd approach this.
Write the truth table for a logic gate.