Identify the logic gates X and y shown in the figure. Write down the truth table for output Z for all possible inputs A and B.

Identify the logic gates X and y shown in the figure. Write down the truth table for output Z for all possible inputs A and B.