Answer:
your answer is correct
Step-by-step explanation:
You have the correct mapping from inputs to outputs. The only thing your teacher may disagree with is the ordering of your inputs. They might be written more conventionally as ...
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
That is, your teacher may be looking for the pattern 1001 in the last column without paying attention to what you have written in column B.