The figure below gives a system of logic gates. From the study of truth table