This is the process I did, but I’m not sure if the procedure is correct:
P | Q | ?
F | F | F
F | T | T
T | F | T
T | T | F
(¬P ∧ Q) ∨ (P ∧ ¬Q)
=> ((¬P ∧ Q) ∨ P) ∧ ((¬P ∧ Q) ∨ ¬Q)
=> (P ∨ Q) ∧ (¬P ∨ ¬Q)
This is the process I did, but I’m not sure if the procedure is correct:
P | Q | ?
F | F | F
F | T | T
T | F | T
T | T | F
(¬P ∧ Q) ∨ (P ∧ ¬Q)
=> ((¬P ∧ Q) ∨ P) ∧ ((¬P ∧ Q) ∨ ¬Q)
=> (P ∨ Q) ∧ (¬P ∨ ¬Q)
My apologies if this should be a comment, I don't have the rep. It's been a while since I learned this, but isn't it going to be $P \oplus Q$ or $P \veebar Q$, the XOR/exclusive or operator? Unless there is more information that's not available, that fits all of your datapoints.