The combination of gates shown below yields.
OR gate
NOT gate
XOR gate
NAND gate
X = A¯.B¯¯ = A¯¯+B¯¯ = A+B
Truth table for given combination is
This comes out to be true for OR gate