https://electricalstudent.com/4-6-the-circuits-shown-in-fig-p4-6a-and-b-can-function-as-logic-gates-for-input-voltages-that-are-either-high-or-low-using-1-to-denote-the-high-value-and-0-to/
4.6 The circuits shown in Fig. P4.6(a) and (b) can function as logic gates for input voltages that are either high or low. Using “1” to denote the high value and “0” to denote the low value, prepare a table with four columns including all possible input combinations and the resulting values of X and Y. What logic function is X of A and B? What logic function is Y of A and B? For what values of A and B do X and Y have the same value? For what values of A and B do X and Y have opposite values?