To obtain the given truth table, following logic gate should be placed at G:
The output after each AND gate is which means the same input to G.
By putting values of and from the truth table and by eliminating options, we get G to be a NOR gate.
Tagged Logic gates and digital circuits. Machine-assigned, so read it as a strong shortlist rather than a verdict.