Find the truth table for the function \( Y \) of \( A \) and \( B \) represented in the following figure.