In the combination of the following gates the output Y can be written in terms of inputs A and B as
A·B¯
A·B¯+A¯·B
A·B¯+A·B
A+B¯
Y=(A·B¯+A¯·B)