The relationship between two variables \( x \) and \( y \) is given by \( x + py + q = 0 \) and is shown in the figure. Find the values of \( p \) and \( q \). Note: The figure shown is representative.
The logic gate equivalent to the combination of logic gates shown in the figure is