Answer:
You need an AND gate and an OR gate.
Step-by-step explanation:
see picture below
6.5m questions
8.6m answers