An X-OR gate has following truth table:
It is represented by following logic relation
Build this gate using AND, OR and NOT gates.