If a, b, c, d are inputs to a gate and x is its output, then, as per the following time graph, the gate is: