The drawing you've indicated that the professor gave you, is that a picture of the drawing or your "creation" of the picture?
If it's your creation, take a picture of the paper the professor gave you. If the professor emailed you a picture, post that picture.
Your truth table is consistent with the drawing of the logic gates.
If it's your creation, take a picture of the paper the professor gave you. If the professor emailed you a picture, post that picture.
Your truth table is consistent with the drawing of the logic gates.